Skip to content

Commit

Permalink
Update inspectionslist.php
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlosb committed May 28, 2024
1 parent 3e7bf3f commit c975804
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion application/views/inspectionslist.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,19 @@
</div>
<script>
var ulang = '<?= ucfirst($user_lang) ?>';
var tdate = new Date();
new DataTable('#inspectlist', {
layout: {
topStart: {
buttons: ['excel', 'pdf', 'print'],
buttons: [{
extend: 'excel',
exportOptions: {
modifier: {
page: 'current'
},
filename: "itin-inspection_list_"+tdate
}
}, 'pdf', 'print'],

}, bottomStart: 'pageLength'
},
Expand Down

0 comments on commit c975804

Please sign in to comment.