Commit b66dc2a9 by Eirene Hutasoit

mengedit fungsi konfirmasi pemesanan

parent 8410f396
......@@ -35,15 +35,16 @@
<h4 style="text-align:center; padding-top: 100px">Silahkan Kirimkan Pembayaran anda ke No Rek 998-732-114 atas nama Gibeon ke Bank Mandiri</h5>
<br>
<div id="wrapper">
<table class="table table-bordered">
<table class="table table-bordered">
<thead>
<th>Nama Lengkap</th>
<th>Alamat</th>
<th>Email</th>
<th>Tanggal Mulai</th>
<th width="300px">Tanggal Mulai</th>
<th>Tanggal Selesai</th>
<th>Jumlah Bayar</th>
</thead>
......@@ -58,17 +59,19 @@
while ($data = mysqli_fetch_array($query)){
$total = $data['jumlahpeserta'] * $data['harga'];
$jumlah_hari = $data['waktuselesai']-$data['waktumulai'];
?>
<tr>
<td><?php echo $data['namalengkap'] ?></td>
<td><?php echo $data['alamat'] ?></td>
<td><?php echo $data['email'] ?> </td>
<td><?php echo $data['waktumulai'] ?> </td>
<td><?php echo $data['waktuselesai'] ?> </td>
<td><?php echo $total ?> </td>
<td><b><?php echo $data['namalengkap'] ?></b></td>
<td><b><?php echo $data['alamat'] ?></b></td>
<td><b><?php echo $data['email'] ?> </b></td>
<td ><b><?php echo $data['waktumulai'] ?> </b></td>
<td><b><?php echo $data['waktuselesai'] ?> </b></td>
<td><b><?php echo $total ?></b> </td>
</tr>
<?php
......@@ -77,7 +80,7 @@
?>
</table>
<button class="btn btn-default"><a href="pembayaran.php?id=<?= $id_pemesanan?>" > Pembayaran </a></button>
<a href="pembayaran.php?id=<?= $id_pemesanan?>" class="btn btn-default" > Pembayaran </a>
</div>
</body>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment