function cetak notis jbg

This commit is contained in:
nishaMuhd
2024-01-15 13:29:55 +08:00
parent 981b7836c8
commit 457df3f35c
4 changed files with 437 additions and 13 deletions
@@ -122,8 +122,8 @@
@endif
<div class="container-fluid">
<form id="exportpdf" action="" target="_blank" method="POST">
<form id="exportpdf" action="{{route('arcc.printnotiscall',['kodcaw' => $kodcaw, 'notisid' => $notisid])}}" target="_blank" method="POST">
@csrf
<input type="hidden" name="type" id="typedonwload" value="">
<input type='hidden' name="radaktif" value="aktif">
@@ -288,16 +288,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: 'Cetak Senarai',
text: '<h8><b>Cetak Senarai</b></h8>',
action: function ( e, dt, node, config ) {
$('#typedonwload').val('pdflist');
$("#exportpdf").submit();
}
// },
}
// {
// className: 'btn btn-outline-info pl-4 pr-4 btn-sm export',
// target: "_blank",