Commit e1eba0e4 by Mei Romauli Sagala

edit

parent 6f38c5b4
...@@ -38,12 +38,11 @@ ...@@ -38,12 +38,11 @@
<td> <td>
<?php <?php
if($row['bukti'] != NULL && $row['status'] != NULL){ if($row['bukti'] != NULL && $row['status'] != NULL){
if($row['status'] != 'Diterima' && $row['status'] == NULL){
echo '<a href="konfirmasi.php?id='. $row['id_pembayaran']. '" class="btn btn-success"> Konfirmasi </a>';
}else{
echo $row['status']; echo $row['status'];
} }
}else{ else if($row['status'] != 'Diterima' && $row['status'] == NULL){
echo '<a href="konfirmasi.php?id='. $row['id_pembayaran']. '" class="btn btn-success"> Konfirmasi </a>';
}else if($row['bukti'] == NULL && $row['status'] == NULL){
echo 'none'; echo 'none';
} }
?> ?>
......
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