function cetak notis jbg
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user