Report Print : ps
This commit is contained in:
parent
d5cb829eae
commit
3fc2fcc16d
@ -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',
|
||||
|
||||
@ -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',
|
||||
|
||||
@ -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',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user