Commit f8d04e45 by Mei Romauli Sagala

edit

parent e5c12798
......@@ -20,7 +20,7 @@
<?php
$kueri = mysqli_query($koneksi, "SELECT * FROM pembayaran WHERE member_id = '$member_id'");
$row = mysqli_fetch_array($kueri);
if($row['bukti'] == NULL && $row['status'] == NULL){
if($row['bukti'] == NULL){
?>
<h3> Terimakasih Telah Memesan. </h3>
<div> Pesanan anda sebesar Rp. <?= $total?>,- <br>
......@@ -29,16 +29,17 @@
<br> <br>
<div>
Setelah mengirim uang upload bukti pengiriman :<br>
<form action="checkout.php?id_member=<?=$member_id?>" method="post" enctype="multipart/form-data">
<form action="checkout.php?id_member=<?= $member_id?>" method="post" enctype="multipart/form-data">
<input type="file" name="bukti">
<input type="submit" class="btn btn-info" value="Upload">
</form>
<br> </div>
<?php
}else if($row['bukti'] != NULL && $row['status'] == NULL){
}else{
if($row['status'] == NULL){
echo '<h3 style="color: #b30000"> Terimakasih telah membayar. </h3>';
echo 'Silahkan tunggu konfirmasi pembayaran dari admin. <br>';
}else if ($row['bukti'] != NULL && $row['status'] != NULL){
}else{
echo 'Pesanan anda telah dikonfirmasi. Terimakasih telah memesan. <br> <br>';
echo "<a href='selesai.php?id=". $member_id ."' class='btn btn-success'> Selesai </a> <br>";
}
......
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