update button dan tambah cetak pdf

This commit is contained in:
Nur Izzati Zulkifli
2024-01-08 12:18:35 +08:00
parent e24c3c1cfa
commit 2ddb21a269
7 changed files with 802 additions and 61 deletions
@@ -237,16 +237,16 @@
// // window.open("_blank");
// }
// },
// {
// className: 'btn btn-outline-danger pl-4 pr-4 btn-sm export',
// titleAttr: 'Export to PDF',
// text: '<h8><b>PDF</b></h8>',
// action: function ( e, dt, node, config ) {
// $('#typedonwload').val('pdf');
// $("#exportpdf").submit();
// }
{
className: 'btn btn-outline-danger pl-4 pr-4 btn-sm export',
titleAttr: 'Export to PDF',
text: '<h8><b>CETAK SENARAI</b></h8>',
action: function ( e, dt, node, config ) {
$('#typedonwload').val('pdf');
$("#exportpdf").submit();
}
// },
},
{
className: 'btn btn-outline-info pl-4 pr-4 btn-sm export',
target: "_blank",