fix conflict

This commit is contained in:
LAPTOP-DGCU80CH\user1
2020-12-03 12:37:34 +08:00
parent c8cb41600e
commit 09db6dfcb0
6 changed files with 260 additions and 20 deletions
+31 -6
View File
@@ -475,7 +475,12 @@
'nilai_marhun' : nilai_marhun
},
success:function(data){
alert('Tambah Marhun Berjaya');
// alert('Tambah Marhun Berjaya');
Swal.fire({
icon: 'success',
title: 'Berjaya!',
text: 'Tambah Marhun Berjaya'
});
$('#nota').val('').trigger("change");
$('#marhun').val(0);
$('#karat').val(0);
@@ -491,7 +496,12 @@
$('#daftar_marhun').modal('hide');
},
error: function(xhRequest, ErrorText, thrownError){
alert('Tambah Marhun Tidak Berjaya');
// alert('Tambah Marhun Tidak Berjaya');
Swal.fire({
icon: 'error',
title: 'Amaran!',
text: 'Tambah Marhun Tidak Berjaya'
});
console.log(xhRequest);
}
});
@@ -524,7 +534,12 @@
'nilai_marhun' : nilai_marhun
},
success:function(data){
alert('Tambah Marhun Berjaya');
// alert('Tambah Marhun Berjaya');
Swal.fire({
icon: 'success',
title: 'Berjaya!',
text: 'Tambah Marhun Berjaya'
});
$('#nota').val('').trigger("change");
$('#marhun').val(0);
$('#karat').val(0);
@@ -539,7 +554,12 @@
getMarhun(norujukan);
},
error: function(xhRequest, ErrorText, thrownError){
alert('Tambah Marhun Tidak Berjaya');
// alert('Tambah Marhun Tidak Berjaya');
Swal.fire({
icon: 'error',
title: 'Amaran!',
text: 'Tambah Marhun Tidak Berjaya'
});
console.log(xhRequest);
}
});
@@ -572,7 +592,7 @@
Swal.fire({
icon: 'error',
title: 'Amaran!',
text: 'Pinjaman Memerlukan Kelulusan Operasi'
text: 'Pembiayaan Memerlukan Kelulusan Operasi'
});
event.preventDefault();
return false;
@@ -580,12 +600,17 @@
Swal.fire({
icon: 'error',
title: 'Amaran!',
text: 'Pinjaman Memerlukan Kelulusan Khazanah'
text: 'Pembiayaan Memerlukan Kelulusan Khazanah'
});
event.preventDefault();
return false;
}
}
Swal.fire({
icon: 'success',
title: 'Berjaya!',
text: 'Gadaian Berjaya Disimpan'
});
return true;
}