Commit e5c12798 by Mei Romauli Sagala

edit

parent d97095e0
......@@ -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){
if($row['bukti'] == NULL && $row['status'] == NULL){
?>
<h3> Terimakasih Telah Memesan. </h3>
<div> Pesanan anda sebesar Rp. <?= $total?>,- <br>
......@@ -35,11 +35,10 @@
</form>
<br> </div>
<?php
}else{
if($row['status'] == NULL){
}else if($row['bukti'] != NULL && $row['status'] == NULL){
echo '<h3 style="color: #b30000"> Terimakasih telah membayar. </h3>';
echo 'Silahkan tunggu konfirmasi pembayaran dari admin. <br>';
}else{
}else if ($row['bukti'] != NULL && $row['status'] != NULL){
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