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
@@ -70,7 +70,7 @@
#details th {
padding: 8px;
font-size: 14px;
font-size: 12px;
}
#details tr:nth-child(even) {
@@ -259,17 +259,17 @@
dom: 'Bfrtip',
buttons: [
// {
// className: 'btn btn-outline-success pl-4 pr-4 btn-sm export',
// target: "_blank",
// titleAttr: 'Export to Excel',
// text: '<h8><b>EXCEL</b></h8>',
// action: function ( e, dt, node, config ) {
// $('#typedonwload').val('excel');
// $("#exportpdf").submit();
// // window.open("_blank");
// }
// },
{
className: 'btn btn-outline-success pl-4 pr-4 btn-sm export',
target: "_blank",
titleAttr: 'Cetak Senarai',
text: '<h8><b>CETAK SENARAI</b></h8>',
action: function ( e, dt, node, config ) {
$('#typedonwload').val('pdflist');
$("#exportpdf").submit();
// window.open("_blank");
}
},
{
className: 'btn btn-outline-danger pl-4 pr-4 btn-sm export',
titleAttr: 'Surat Berdaftar',