This commit is contained in:
afiq
2021-12-22 04:33:03 +08:00
parent 973e0ee2c1
commit 1fa3b31662
+18 -1
View File
@@ -826,7 +826,24 @@
if (tarikhtuntut == null)
{
window.location.href = urlroute;
$.ajax({
method: 'GET',
url : api_url + '/api/check/wtd',
data:{
'norujukan' : norujukan
},
success:function(data){
if(data == 'yes'){
Swal.fire({
icon: 'error',
title: 'Amaran',
text: 'Lelongan dalam process WTD'
});
}else{
window.location.href = urlroute;
}
}
});
}else{
Swal.fire({
icon: 'error',