fix things
This commit is contained in:
@@ -806,14 +806,14 @@
|
|||||||
let test = $('input[name="sudahtebus"]:checked').closest('tr').children('td:eq(2)').text();
|
let test = $('input[name="sudahtebus"]:checked').closest('tr').children('td:eq(2)').text();
|
||||||
let tarikhgadai1 = new Date(test);tarikhgadai1.setHours(0, 0, 0, 0);
|
let tarikhgadai1 = new Date(test);tarikhgadai1.setHours(0, 0, 0, 0);
|
||||||
|
|
||||||
// if(+harini !== +tarikhgadai1){
|
if(+harini !== +tarikhgadai1){
|
||||||
// Swal.fire({
|
Swal.fire({
|
||||||
// icon: 'error',
|
icon: 'error',
|
||||||
// title: 'Amaran',
|
title: 'Amaran',
|
||||||
// text: 'Hapus Gadai Tidak Dibenarkan'
|
text: 'Hapus Gadai Tidak Dibenarkan'
|
||||||
// });
|
});
|
||||||
// return false;
|
return false;
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const swalWithBootstrapButtons = Swal.mixin({
|
const swalWithBootstrapButtons = Swal.mixin({
|
||||||
|
|||||||
Reference in New Issue
Block a user