perbaikan keranjang belanja

parent f75188ba
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
<th>No. Pesanan</th> <th>No. Pesanan</th>
<th>ISBN</th> <th>ISBN</th>
<th>Judul Buku</th> <th>Judul Buku</th>
<th>Gambar</th>
<th>Harga</th> <th>Harga</th>
<th>Jumlah</th> <th>Jumlah</th>
<th>Sub-Total</th> <th>Sub-Total</th>
...@@ -55,7 +54,6 @@ ...@@ -55,7 +54,6 @@
<td class="invert"><?php echo $no++; ?></td> <td class="invert"><?php echo $no++; ?></td>
<td class="invert"><?php echo $data['isbn']; ?></td> <td class="invert"><?php echo $data['isbn']; ?></td>
<td class="invert"><?php echo $data['judul']; ?></td> <td class="invert"><?php echo $data['judul']; ?></td>
<td class="invert-image"><?php echo $data['gambar']; ?></td>
<td class="invert"><?php echo $data['harga']; ?></td> <td class="invert"><?php echo $data['harga']; ?></td>
<td class="invert"><?php echo number_format($val); ?></td> <td class="invert"><?php echo number_format($val); ?></td>
<td class="invert">Rp.<?php echo number_format($jumlah_harga); ?>,00</td> <td class="invert">Rp.<?php echo number_format($jumlah_harga); ?>,00</td>
...@@ -94,7 +92,7 @@ ...@@ -94,7 +92,7 @@
} }
elseif($total != 0) { elseif($total != 0) {
echo ' echo '
<tr style="background-color:#dbase_delete_record(dbase_identifier, record_number);"><td colspan="4" align="right"><b>Total :</b></td><td align="right"><b>Rp. '.number_format($total,2,",",".").'</b></td></td></td></tr></table> <tr style="background-color:#dbase_delete_record(dbase_identifier, record_number);"><td colspan="5" align="right"><b>Total :</b></td><td align="right"><b>Rp. '.number_format($total,2,",",".").'</b></td></td></td></tr></table>
<p><div align="right"> <p><div align="right">
<div class="checkout-right-basket"> <div class="checkout-right-basket">
<a href="allbook.php"><span class="glyphicon glyphicon-menu-left" aria-hidden="true"></span>Lanjut Berbelanja</a> <a href="allbook.php"><span class="glyphicon glyphicon-menu-left" aria-hidden="true"></span>Lanjut Berbelanja</a>
...@@ -106,7 +104,7 @@ ...@@ -106,7 +104,7 @@
} }
else { else {
echo ' echo '
<tr><td colspan="8" align="center" style="background-color:#ffffff"> <tr><td colspan="7" align="center" style="background-color:#ffffff">
Ups, Keranjang belanja kosong ! </td></tr></table> Ups, Keranjang belanja kosong ! </td></tr></table>
<div class="checkout-right-basket"> <div class="checkout-right-basket">
<a href="allbook.php"><span class="glyphicon glyphicon-menu-left" aria-hidden="true"></span>Lanjut Berbelanja</a> <a href="allbook.php"><span class="glyphicon glyphicon-menu-left" aria-hidden="true"></span>Lanjut Berbelanja</a>
......
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