Merged in afiqhamzah/fix/ps-validation (pull request #87)

Fix ps validation
This commit is contained in:
Afiq Hamzah
2024-01-10 08:13:32 +00:00
+2 -2
View File
@@ -573,7 +573,7 @@
}) })
.then(historygadaian => { .then(historygadaian => {
if(historygadaian === '0' || historygadaian === null || historygadaian.length === 0) { if(historygadaian == '0' || historygadaian === null || historygadaian.length === 0) {
return false; return false;
} }
@@ -1626,7 +1626,7 @@
let isPS = checkPS(selected.value) let isPS = checkPS(selected.value)
if(isPS){ if(isPS === true){
Swal.fire({ Swal.fire({
icon: 'error', icon: 'error',
title: 'Amaran', title: 'Amaran',