Lines 92-102
Link Here
|
92 |
var orderst = $("#orders").dataTable($.extend(true, {}, dataTablesDefaults, { |
92 |
var orderst = $("#orders").dataTable($.extend(true, {}, dataTablesDefaults, { |
93 |
"sPaginationType": "four_button", |
93 |
"sPaginationType": "four_button", |
94 |
[% IF ( active ) %] |
94 |
[% IF ( active ) %] |
95 |
[% UNLESS ( closedate ) %] |
|
|
96 |
"aoColumnDefs": [ |
95 |
"aoColumnDefs": [ |
97 |
{ "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false }, |
96 |
[% UNLESS ( closedate ) %] |
|
|
97 |
{ "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false }, |
98 |
[% END %] |
99 |
{ "sType": "anti-the", "aTargets": [ "anti-the" ] } |
98 |
], |
100 |
], |
99 |
[% END %] |
|
|
100 |
[% END %] |
101 |
[% END %] |
101 |
} ) ); |
102 |
} ) ); |
102 |
var cancelledorderst = $("#cancelledorderst").dataTable($.extend(true, {}, dataTablesDefaults, { |
103 |
var cancelledorderst = $("#cancelledorderst").dataTable($.extend(true, {}, dataTablesDefaults, { |
Lines 391-397
Link Here
|
391 |
<thead> |
392 |
<thead> |
392 |
<tr> |
393 |
<tr> |
393 |
<th>No.</th> |
394 |
<th>No.</th> |
394 |
<th>Order</th> |
395 |
<th class="anti-the">Order</th> |
395 |
<th class="gste">RRP tax exc.</th> |
396 |
<th class="gste">RRP tax exc.</th> |
396 |
<th class="gste">ecost tax exc.</th> |
397 |
<th class="gste">ecost tax exc.</th> |
397 |
<th class="gsti">RRP tax inc.</th> |
398 |
<th class="gsti">RRP tax inc.</th> |