update condition cheking ps

This commit is contained in:
Amirah
2024-01-03 10:06:28 +08:00
parent d73a382a15
commit 1a506ad2ba
+3 -3
View File
@@ -310,10 +310,10 @@
$formatted_t_matang_1 = $t_matang_1->format('d-m-Y');
// check if sag is pembiayaan semula
if ($gadai_detail['historygadaian'] != '' || $gadai_detail['historygadaian'] != '0') {
$is_pembiayaan_semula = true;
} else {
if ($gadai_detail['historygadaian'] == '' || $gadai_detail['historygadaian'] == '0') {
$is_pembiayaan_semula = false;
} else {
$is_pembiayaan_semula = true;
}
@endphp
<div class="main-page">