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 => {
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',