+ Bug fixed when reporting credits requests

This commit is contained in:
Djery-Tom 2020-11-16 09:29:23 +01:00
parent d61422b016
commit 80116d0bc3
1 changed files with 9 additions and 36 deletions

View File

@ -1000,26 +1000,17 @@
'pageLength', 'pageLength',
{ {
extend: 'excelHtml5', extend: 'excelHtml5',
title: "<?=$this->lang->line('incoming_credits_requests')?>", title: "<?=$this->lang->line('incoming_credits_requests')?>"
exportOptions: {
columns: [0, 1, 2, 3, 4, 5, 6, 7]
}
}, },
{ {
extend: 'csvHtml5', extend: 'csvHtml5',
title: "<?=$this->lang->line('incoming_credits_requests')?>", title: "<?=$this->lang->line('incoming_credits_requests')?>"
exportOptions: {
columns: [0, 1, 2, 3, 4, 5, 6, 7]
}
}, },
{ {
extend: 'pdfHtml5', extend: 'pdfHtml5',
orientation: 'landscape', orientation: 'landscape',
pageSize: 'LEGAL', pageSize: 'LEGAL',
title: "<?=$this->lang->line('incoming_credits_requests')?>", title: "<?=$this->lang->line('incoming_credits_requests')?>"
exportOptions: {
columns: [0, 1, 2, 3, 4, 5, 6, 7]
}
} }
] ]
}); });
@ -1035,26 +1026,17 @@
'pageLength', 'pageLength',
{ {
extend: 'excelHtml5', extend: 'excelHtml5',
title: "<?=$this->lang->line('incoming_credits_requests')?>", title: "<?=$this->lang->line('incoming_credits_requests')?>"
exportOptions: {
columns: [0, 1, 2, 3, 4, 5]
}
}, },
{ {
extend: 'csvHtml5', extend: 'csvHtml5',
title: "<?=$this->lang->line('incoming_credits_requests')?>", title: "<?=$this->lang->line('incoming_credits_requests')?>"
exportOptions: {
columns: [0, 1, 2, 3, 4, 5]
}
}, },
{ {
extend: 'pdfHtml5', extend: 'pdfHtml5',
orientation: 'landscape', orientation: 'landscape',
pageSize: 'LEGAL', pageSize: 'LEGAL',
title: "<?=$this->lang->line('incoming_credits_requests')?>", title: "<?=$this->lang->line('incoming_credits_requests')?>"
exportOptions: {
columns: [0, 1, 2, 3, 4, 5]
}
} }
] ]
}); });
@ -1069,26 +1051,17 @@
'pageLength', 'pageLength',
{ {
extend: 'excelHtml5', extend: 'excelHtml5',
title: "<?=$this->lang->line('outgoing_credits_requests')?>", title: "<?=$this->lang->line('outgoing_credits_requests')?>"
exportOptions: {
columns: [0, 1, 2, 3]
}
}, },
{ {
extend: 'csvHtml5', extend: 'csvHtml5',
title: "<?=$this->lang->line('outgoing_credits_requests')?>", title: "<?=$this->lang->line('outgoing_credits_requests')?>"
exportOptions: {
columns: [0, 1, 2, 3]
}
}, },
{ {
extend: 'pdfHtml5', extend: 'pdfHtml5',
orientation: 'landscape', orientation: 'landscape',
pageSize: 'LEGAL', pageSize: 'LEGAL',
title: "<?=$this->lang->line('outgoing_credits_requests')?>", title: "<?=$this->lang->line('outgoing_credits_requests')?>"
exportOptions: {
columns: [0, 1, 2, 3]
}
} }
] ]
}); });