This commit is contained in:
hafifierahman
2021-02-27 13:46:45 +08:00
parent 801c267f24
commit 2728fd4e28
+3 -3
View File
@@ -310,7 +310,7 @@ async function openuptambahdanserah(e)
url: api_url + '/api/requestTeller/' + kodcaw,
data: {
"kodlaluan" : teller,
"modal" : amaun.value,
"modal" : amaun,
"serahan" : 0
},
success:function(data)
@@ -387,9 +387,9 @@ async function openuptambahdanserah(e)
});
if (amaun.isConfirmed) {
if (amaun) {
// Swal.fire(`Entered email: ${amaun}`)
if (isNaN(amaun.value))
if (isNaN(amaun))
{
Swal.fire('error','Amaun hendaklah dalam nombor!','error');
return false;