[% END %]
<th class="NoSort">Place hold</th>
[% IF ( active && !closedate ) %]
<th class="NoSort">Modify</th>
<th class="NoSort noExport">Modify</th>
[% IF !closedate || Koha.Preference('CancelOrdersInClosedBaskets') %]
<th class="NoSort">Cancel order</th>
<th class="NoSort noExport">Cancel order</th>
</tr>
</thead>
$("#orders").kohaTable({
pagingType: "full",
autoWidth: false,
exportColumns: [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18[% IF (Koha.Preference('EDIFACT') && ediaccount) %],19[% END %]],
}, table_settings);
$("#cancelledorderst").kohaTable({
<th scope="col" data-colname="checkout_charge_limit">Checkout charge limit</th>
<th scope="col" data-colname="guarantees_checkout_charge_limit">Guarantees checkout charge limit</th>
<th scope="col" data-colname="guarantors_checkout_charge_limit">Guarantors with guarantees checkout charge limit</th>
<th scope="col" data-colname="actions">Actions</th>
<th scope="col" class="noExport" data-colname="actions">Actions</th>
<tbody>
<tr>
<th scope="col">Code</th>
<th scope="col">Label</th>
<th scope="col">Default</th>
<th class="noExport" scope="col">Default</th>
<th scope="col">Lift after payment?</th>
<th class="noExport" scope="col">Lift after payment?</th>
<th scope="col">Fee limit</th>
<th class="noExport" scope="col">Fee limit</th>
<th scope="col">Actions</th>
<th class="noExport" scope="col">Actions</th>
},
],
exportColumns: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],
bKohaColumnsUseNames: true,
table_settings
let table_settings = params.table_settings;
var exportColumns = ":visible:not(.noExport)";
if( settings.hasOwnProperty("exportColumns") ){
// A custom buttons configuration has been passed from the page
exportColumns = settings["exportColumns"];
}
const export_format_spreadsheet = {
body: function ( data, row, column, node ) {
order: [[1, "asc"]],
exportColumns: [0, 1],
});
$("#restriction_form").validate({
var export_format = {
-