diff --git a/app/Views/viewinwardgateregister.php b/app/Views/viewinwardgateregister.php index cc07b33f..a24ea360 100755 --- a/app/Views/viewinwardgateregister.php +++ b/app/Views/viewinwardgateregister.php @@ -1713,7 +1713,20 @@ table = $('#view_inward_gate_register').DataTable({ dom: 'Blfrtip', buttons: [ - 'excel', 'pdf' + { + extend: 'excel', + text: 'Excel', + exportOptions: { + columns: ':not(:last-child)' // Exclude the last column + } + }, + { + extend: 'pdf', + text: 'PDF', + exportOptions: { + columns: ':not(:last-child)' // Exclude the last column + } + } ], pageLength: 10, lengthMenu: [