From ae7200f082e997fa23181bac6f94fd7fddb8a52f Mon Sep 17 00:00:00 2001 From: Afiq Hamzah Date: Wed, 10 Jan 2024 16:12:53 +0800 Subject: [PATCH] Fix ps validation --- resources/views/customers/v2/info.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/customers/v2/info.blade.php b/resources/views/customers/v2/info.blade.php index 1789026..e58b30a 100644 --- a/resources/views/customers/v2/info.blade.php +++ b/resources/views/customers/v2/info.blade.php @@ -573,7 +573,7 @@ }) .then(historygadaian => { - if(historygadaian === '0' || historygadaian === null || historygadaian.length === 0) { + if(historygadaian == '0' || historygadaian === null || historygadaian.length === 0) { return false; } @@ -1626,7 +1626,7 @@ let isPS = checkPS(selected.value) - if(isPS){ + if(isPS === true){ Swal.fire({ icon: 'error', title: 'Amaran',