Merge branch 'master' of github.com:franknstayn/crewsportswear

This commit is contained in:
franknstayn
2019-11-11 04:44:45 -06:00
3 changed files with 15 additions and 5 deletions

View File

@@ -54,6 +54,11 @@
<tr> <tr>
<th>Invoice No.</th> <th>Invoice No.</th>
<th>Product Name</th> <th>Product Name</th>
<th>Name</th>
<th>Number</th>
<th>Size</th>
<th>Jersey Size</th>
<th>Short Size</th>
<th>Price</th> <th>Price</th>
<th>Quantity</th> <th>Quantity</th>
<th>#</th> <th>#</th>
@@ -75,6 +80,11 @@
<tr> <tr>
<td>{{ $item_order->InvoiceNumber . ' - ' . $item_order->Order_Id }}</td> <td>{{ $item_order->InvoiceNumber . ' - ' . $item_order->Order_Id }}</td>
<td>{{ $item_order->ProductName }}</td> <td>{{ $item_order->ProductName }}</td>
<td>{{ $item_order->Name }}</td>
<td>{{ $item_order->Number }}</td>
<td>{{ $item_order->Size }}</td>
<td>{{ $item_order->JerseySize }}</td>
<td>{{ $item_order->ShortsSize }}</td>
<td>{{ $item_order->Price . ' ' . $item_order->Currency }}</td> <td>{{ $item_order->Price . ' ' . $item_order->Currency }}</td>
<td>{{ $item_order->Quantity }} </td> <td>{{ $item_order->Quantity }} </td>
<td>{{ date('Y/m/d', strtotime($item_order->DateCreated)) }}</td> <td>{{ date('Y/m/d', strtotime($item_order->DateCreated)) }}</td>

View File

@@ -661,7 +661,7 @@
{ {
extend: 'csv', extend: 'csv',
exportOptions: { 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", className : "btn btn-default",
text: "<i class=\"fa fa-table\"></i> CSV", text: "<i class=\"fa fa-table\"></i> CSV",
@@ -672,7 +672,7 @@
{ {
extend: 'excel', extend: 'excel',
exportOptions: { 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", className : "btn btn-default",
text: "<i class=\"fa fa-file-excel-o\"></i> Excel", text: "<i class=\"fa fa-file-excel-o\"></i> Excel",
@@ -710,8 +710,8 @@
// } // }
], ],
columnDefs: [ columnDefs: [
{ targets: 4, type: 'date', visible: false }, { targets: 9, type: 'date', visible: false },
{ targets: 5, type: 'date' } { targets: 19, type: 'date' }
], ],
}); });