Fix ps validation

This commit is contained in:
Afiq Hamzah
2024-01-10 16:12:53 +08:00
parent 10be3296b1
commit ae7200f082
+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',