added column in store order reports in store owner

This commit is contained in:
franknstayn
2019-11-11 18:37:06 +08:00
parent 460cf315a0
commit db0a359e56
4 changed files with 16 additions and 6 deletions

View File

@@ -661,7 +661,7 @@
{
extend: 'csv',
exportOptions: {
columns: [ 0, 1, 2, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 ]
columns: [ 0, 1, 2, 3, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 ]
},
className : "btn btn-default",
text: "<i class=\"fa fa-table\"></i> CSV",
@@ -672,7 +672,7 @@
{
extend: 'excel',
exportOptions: {
columns: [ 0, 1, 2, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 ]
columns: [ 0, 1, 2, 3, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 ]
},
className : "btn btn-default",
text: "<i class=\"fa fa-file-excel-o\"></i> Excel",
@@ -710,8 +710,8 @@
// }
],
columnDefs: [
{ targets: 4, type: 'date', visible: false },
{ targets: 5, type: 'date' }
{ targets: 9, type: 'date', visible: false },
{ targets: 19, type: 'date' }
],
});