fix export detail subrogasi jamkrindo
This commit is contained in:
parent
bdc9526d2f
commit
4b30f7e298
@ -142,7 +142,7 @@
|
||||
}
|
||||
})
|
||||
$('#kt_modal_add_detail_subrogasi_jamkrindo').modal('hide');
|
||||
LaravelDataTables['detail_subrogasi_jamkrindo-table'].ajax.reload();
|
||||
LaravelDataTables['detail-pembayaran-table'].ajax.reload();
|
||||
});
|
||||
|
||||
Livewire.on('error', (message) => {
|
||||
@ -157,7 +157,7 @@
|
||||
}
|
||||
})
|
||||
$('#kt_modal_add_detail_subrogasi_jamkrindo').modal('hide');
|
||||
LaravelDataTables['detail_subrogasi_jamkrindo-table'].ajax.reload();
|
||||
LaravelDataTables['detail-pembayaran-table'].ajax.reload();
|
||||
});
|
||||
});
|
||||
|
||||
@ -182,41 +182,41 @@
|
||||
|
||||
$(function(){
|
||||
const documentTitle = 'Detail Subrogari Jamkrindo Report';
|
||||
var buttons = new $.fn.dataTable.Buttons(LaravelDataTables['detail_subrogasi_jamkrindo-table'], {
|
||||
var buttons = new $.fn.dataTable.Buttons(LaravelDataTables['detail-pembayaran-table'], {
|
||||
buttons: [
|
||||
{
|
||||
extend: 'copyHtml5',
|
||||
title: documentTitle,
|
||||
exportOptions: {
|
||||
columns: [0, 1, 2, 3, 4, 5, 6]
|
||||
columns: [0, 1, 2, 3, 4, 5]
|
||||
}
|
||||
},
|
||||
{
|
||||
extend: 'excelHtml5',
|
||||
title: documentTitle,
|
||||
exportOptions: {
|
||||
columns: [0, 1, 2, 3, 4, 5, 6]
|
||||
columns: [0, 1, 2, 3, 4, 5]
|
||||
}
|
||||
},
|
||||
{
|
||||
extend: 'csvHtml5',
|
||||
title: documentTitle,
|
||||
exportOptions: {
|
||||
columns: [0, 1, 2, 3, 4, 5, 6]
|
||||
columns: [0, 1, 2, 3, 4, 5]
|
||||
}
|
||||
},
|
||||
{
|
||||
extend: 'pdfHtml5',
|
||||
title: documentTitle,
|
||||
exportOptions: {
|
||||
columns: [0, 1, 2, 3, 4, 5, 6]
|
||||
columns: [0, 1, 2, 3, 4, 5]
|
||||
}
|
||||
},
|
||||
{
|
||||
extend: 'print',
|
||||
title: documentTitle,
|
||||
exportOptions: {
|
||||
columns: [0, 1, 2, 3, 4, 5, 6]
|
||||
columns: [0, 1, 2, 3, 4, 5]
|
||||
}
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user