uangkas.php 799 Bytes
Newer Older
Hernan Crespo Panjaitan committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
<h2>Uang Kas Himatif</h2>
<table class="table table-bordered">
	<thead>
		<tr>
			<th>no</th>
			<th>jumlah</th>
			<th>Tanggal dibuat</th>
			<th>Tanggal berakhir</th>
			<th>Deskripsi</th>
			<th>aksi</th>
		</tr>
	</thead>
	<tbody>
		<?php $nomor=1; ?>
		<?php $ambil=$koneksi->query("SELECT * FROM uang_kas"); ?>
		<?php while($pecah = $ambil->fetch_assoc()){ ?>
		<tr>
			<td><?php echo $nomor; ?></td>
			<td><?php echo $pecah['jumlah_bayar']; ?></td>
			<td><?php echo $pecah['tanggal_dibuat']; ?></td>
			<td><?php echo $pecah['tanggal_berakhir']; ?></td>
			<td><?php echo $pecah['deskripsi_pembayaran']; ?></td>
			<td>
				<a href="" class="btn-danger btn">Hapus</a>
				<a href="" class="btn btn-warning">Update</a>
			</td>
		</tr>
		<?php $nomor++; ?>
		<?php }  ?>

	</tbody>
</table>