<?php $no = 1; ?>
                                <?php foreach ($laporpinjam as $lp) : ?>
                                    <tr>
                                        <td><?php echo $no++; ?></td>
                                        <td><?php echo $lp->nama_lengkap; ?></td>
                                        <td><?php echo $lp->nama_inv; ?></td>
                                        <td><?php echo $lp->tgl_pinjam; ?></td>
                                        <td><?php echo $lp->yg_melayani; ?></td>
                                        <td><?php $date = date_create($lp->tgl_pengembalian);
		                                echo date_format($date, 'd/m/Y'); ?></td>
                                        <td><?php echo $lp->yg_menerima; ?></td>
                                        
                                    </tr>
                                <?php endforeach; ?>
                        </tbody>