add latest fix denominasi
This commit is contained in:
@@ -2333,15 +2333,28 @@
|
||||
success: function(success){
|
||||
$('#btnsave').css('display','none');
|
||||
$('#btnotp').show();
|
||||
Swal.fire({
|
||||
icon: 'success',
|
||||
title: 'Berjaya',
|
||||
text: 'Berjaya mengemaskini maklumat pelanggan'
|
||||
}).then((result) => {
|
||||
if (result.isConfirmed) {
|
||||
location.reload();
|
||||
}
|
||||
});
|
||||
if(success == 1){
|
||||
Swal.fire({
|
||||
icon: 'success',
|
||||
title: 'Berjaya',
|
||||
text: 'Berjaya mengemaskini maklumat pelanggan',
|
||||
allowEscapeKey : false,
|
||||
allowOutsideClick: false,
|
||||
}).then((result) => {
|
||||
if (result.isConfirmed) {
|
||||
location.reload();
|
||||
}
|
||||
});
|
||||
}else{
|
||||
Swal.fire({
|
||||
icon: 'error',
|
||||
title: 'Tidak Berjaya',
|
||||
text: 'Tidak berjaya mengemaskini maklumat pelanggan',
|
||||
allowEscapeKey : false,
|
||||
allowOutsideClick: false,
|
||||
});
|
||||
}
|
||||
|
||||
},
|
||||
error: function (request, status, error) {
|
||||
alert(request.responseText);
|
||||
|
||||
Reference in New Issue
Block a user