Lines 103-113
Link Here
|
103 |
var orderst = $("#orders").dataTable($.extend(true, {}, dataTablesDefaults, { |
103 |
var orderst = $("#orders").dataTable($.extend(true, {}, dataTablesDefaults, { |
104 |
"sPaginationType": "four_button", |
104 |
"sPaginationType": "four_button", |
105 |
[% IF ( active ) %] |
105 |
[% IF ( active ) %] |
106 |
[% UNLESS ( closedate ) %] |
|
|
107 |
"aoColumnDefs": [ |
106 |
"aoColumnDefs": [ |
108 |
{ "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false }, |
107 |
[% UNLESS ( closedate ) %] |
|
|
108 |
{ "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false }, |
109 |
[% END %] |
110 |
{ "sType": "anti-the", "aTargets": [ 0 ] } |
109 |
], |
111 |
], |
110 |
[% END %] |
|
|
111 |
[% END %] |
112 |
[% END %] |
112 |
} ) ); |
113 |
} ) ); |
113 |
var cancelledorderst = $("#cancelledorderst").dataTable($.extend(true, {}, dataTablesDefaults, { |
114 |
var cancelledorderst = $("#cancelledorderst").dataTable($.extend(true, {}, dataTablesDefaults, { |