Merge branch 'kaunter' into 'new-super'
wtd See merge request online-sistem1/kaunter!189
This commit is contained in:
@@ -826,7 +826,24 @@
|
|||||||
|
|
||||||
if (tarikhtuntut == null)
|
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{
|
}else{
|
||||||
Swal.fire({
|
Swal.fire({
|
||||||
icon: 'error',
|
icon: 'error',
|
||||||
|
|||||||
Reference in New Issue
Block a user