fix updated latest
This commit is contained in:
@@ -403,7 +403,28 @@
|
||||
"jumlahkeping": "0"
|
||||
},
|
||||
success: function (data) {
|
||||
console.log(data);
|
||||
|
||||
if(data == 0){
|
||||
Swal.fire({
|
||||
icon: 'error',
|
||||
title: 'Tidak Berjaya',
|
||||
text: 'Tidak berjaya mengemaskini denominasi'
|
||||
}).then((result) => {
|
||||
if (result.isConfirmed) {
|
||||
location.reload();
|
||||
}
|
||||
});
|
||||
}else{
|
||||
Swal.fire({
|
||||
icon: 'success',
|
||||
title: 'Berjaya',
|
||||
text: 'Berjaya mengemaskini denominasi'
|
||||
}).then((result) => {
|
||||
if (result.isConfirmed) {
|
||||
location.reload();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user