ggwp
This commit is contained in:
@@ -237,13 +237,13 @@
|
||||
success:function(data){
|
||||
console.log(data);
|
||||
if(data == 'true'){
|
||||
event.preventDefault();
|
||||
return false;
|
||||
Swal.fire({
|
||||
icon: 'error',
|
||||
title: 'Amaran',
|
||||
text: 'Gadaian Sudah Scan'
|
||||
});
|
||||
event.preventDefault();
|
||||
return false;
|
||||
}else if(data == 'false'){
|
||||
$(func).attr("onSubmit","return true;");
|
||||
$(func).submit();
|
||||
|
||||
@@ -211,13 +211,13 @@ var table_gadaian_semasa = $('#table-gadaian-semasa').DataTable({
|
||||
success:function(data){
|
||||
console.log(data);
|
||||
if(data == 'true'){
|
||||
event.preventDefault();
|
||||
return false;
|
||||
Swal.fire({
|
||||
icon: 'error',
|
||||
title: 'Amaran',
|
||||
text: 'Penebusan Sudah Scan'
|
||||
});
|
||||
event.preventDefault();
|
||||
return false;
|
||||
}else if(data == 'false'){
|
||||
$(func).attr("onSubmit","return true;");
|
||||
$(func).submit();
|
||||
|
||||
Reference in New Issue
Block a user