From 3fc2fcc16de66b9ce44a5774165b0ceac2a8bf5f Mon Sep 17 00:00:00 2001 From: VE10-Sanjeev Date: Wed, 20 Dec 2023 19:28:40 +0530 Subject: [PATCH] Report Print : ps --- app/Views/report_general_invoice.php | 11 ----------- app/Views/report_itemwise.php | 6 ------ app/Views/report_mem_invoice.php | 11 ----------- 3 files changed, 28 deletions(-) diff --git a/app/Views/report_general_invoice.php b/app/Views/report_general_invoice.php index 78eeb169..de0616ab 100644 --- a/app/Views/report_general_invoice.php +++ b/app/Views/report_general_invoice.php @@ -85,17 +85,6 @@ $(document).ready(function() { "order": [[0, 'desc']], "dom": 'Bfrtip', buttons: [ - { - extend: 'pdfHtml5', - text: 'PDF', - title: 'General Invoice Report', - customize: function(doc) { - // Exclude the first and last columns - doc.content[1].table.body.forEach(function(row) { - row.splice(0, 1); // Remove the first column - }); - } - }, { extend: 'print', text: 'Print', diff --git a/app/Views/report_itemwise.php b/app/Views/report_itemwise.php index 40af57e1..39597b31 100644 --- a/app/Views/report_itemwise.php +++ b/app/Views/report_itemwise.php @@ -68,12 +68,6 @@ $(document).ready(function() { // "order": [[0, 'desc']], "dom": 'Bfrtip', buttons: [ - { - extend: 'pdfHtml5', - title: 'Itemwise Report', - text: 'PDF', - customize: function(doc) {} - }, { extend: 'print', title: 'Itemwise Report', diff --git a/app/Views/report_mem_invoice.php b/app/Views/report_mem_invoice.php index 328a885d..c68d9bd3 100644 --- a/app/Views/report_mem_invoice.php +++ b/app/Views/report_mem_invoice.php @@ -81,17 +81,6 @@ $(document).ready(function() { "order": [[0, 'desc']], "dom": 'Bfrtip', buttons: [ - { - extend: 'pdfHtml5', - title: 'Membership Invoice Report', - text: 'PDF', - customize: function(doc) { - // Exclude the first and last columns - doc.content[1].table.body.forEach(function(row) { - row.splice(0, 1); // Remove the first column - }); - } - }, { extend: 'print', title: 'Membership Invoice Report',