From 1a506ad2ba8244fb0b99079bb57c70b4da5d38fa Mon Sep 17 00:00:00 2001 From: Amirah Date: Wed, 3 Jan 2024 10:06:28 +0800 Subject: [PATCH] update condition cheking ps --- resources/views/print/sag_ujrah_3.blade.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/print/sag_ujrah_3.blade.php b/resources/views/print/sag_ujrah_3.blade.php index c16698f..8bbf379 100644 --- a/resources/views/print/sag_ujrah_3.blade.php +++ b/resources/views/print/sag_ujrah_3.blade.php @@ -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