update arcc pembayaran terakhir

This commit is contained in:
BTMS2
2024-10-22 11:45:17 +08:00
parent 21fcf4731e
commit 04f2e5d754
+4 -4
View File
@@ -1617,7 +1617,7 @@
}); });
} }
function ubahPembiayaanSemulaErrorHandling() async function ubahPembiayaanSemulaErrorHandling()
{ {
let selected = document.querySelector('#navtawarruqdannottawarruq input[type="radio"][name="belum"]:checked') let selected = document.querySelector('#navtawarruqdannottawarruq input[type="radio"][name="belum"]:checked')
@@ -1638,7 +1638,7 @@
return true; return true;
} }
let isPS = checkPS(selected.value) let isPS = await checkPS(selected.value)
if(isPS === true){ if(isPS === true){
Swal.fire({ Swal.fire({
@@ -1653,9 +1653,9 @@
return false; return false;
} }
function ubahfunc(e){ async function ubahfunc(e){
let isError = ubahPembiayaanSemulaErrorHandling() let isError = await ubahPembiayaanSemulaErrorHandling()
if(isError){ if(isError){
return; return;
} }