Lines 5-10
Link Here
|
5 |
[% USE Branches %] |
5 |
[% USE Branches %] |
6 |
[% USE AuthorisedValues %] |
6 |
[% USE AuthorisedValues %] |
7 |
[% USE Price %] |
7 |
[% USE Price %] |
|
|
8 |
[% USE ColumnsSettings %] |
8 |
[% SET footerjs = 1 %] |
9 |
[% SET footerjs = 1 %] |
9 |
[% INCLUDE 'doc-head-open.inc' %] |
10 |
[% INCLUDE 'doc-head-open.inc' %] |
10 |
<title>Koha › Serials › Details for subscription #[% subscriptionid | html %]</title> |
11 |
<title>Koha › Serials › Details for subscription #[% subscriptionid | html %]</title> |
Lines 420-425
Link Here
|
420 |
</script> |
421 |
</script> |
421 |
[% Asset.js("js/serials-toolbar.js") | $raw %] |
422 |
[% Asset.js("js/serials-toolbar.js") | $raw %] |
422 |
[% INCLUDE 'datatables.inc' %] |
423 |
[% INCLUDE 'datatables.inc' %] |
|
|
424 |
[% INCLUDE 'columns_settings.inc' %] |
423 |
<script type="text/javascript"> |
425 |
<script type="text/javascript"> |
424 |
// the english words used in display purposes |
426 |
// the english words used in display purposes |
425 |
var text = new Array(_("Number"),_("Volume"),_("Issue"),_("Month"),_("Week"),_("Starting with:"),_("Rollover at:"),_("Choose Hemisphere:"),_("Northern"),_("Southern", |
427 |
var text = new Array(_("Number"),_("Volume"),_("Issue"),_("Month"),_("Week"),_("Starting with:"),_("Rollover at:"),_("Choose Hemisphere:"),_("Northern"),_("Southern", |
Lines 431-444
Link Here
|
431 |
return false; |
433 |
return false; |
432 |
}) |
434 |
}) |
433 |
|
435 |
|
434 |
var table = $("#orders").dataTable($.extend(true, {}, dataTablesDefaults, { |
436 |
var columns_settings = [% ColumnsSettings.GetColumns( 'serials', 'subscription-detail', 'orders', 'json' ) | $raw %]; |
|
|
437 |
var table = KohaTable("orders", { |
435 |
'bPaginate': false, |
438 |
'bPaginate': false, |
436 |
'bAutoWidth': false, |
439 |
'bAutoWidth': false, |
437 |
"aaSorting": [[ 5, "asc" ], [ 2, "desc" ]], // Order by status then ordernumber |
440 |
"aaSorting": [[ 5, "asc" ], [ 2, "desc" ]], // Order by status then ordernumber |
438 |
"aoColumnDefs": [ |
441 |
"aoColumnDefs": [ |
439 |
{ "aTargets": "title-string", "sType": "title-string" } |
442 |
{ "aTargets": "title-string", "sType": "title-string" } |
440 |
] |
443 |
] |
441 |
})); |
444 |
}, columns_settings); |
442 |
|
445 |
|
443 |
$("#hide_received_orders").click(function(e){ |
446 |
$("#hide_received_orders").click(function(e){ |
444 |
e.preventDefault(); |
447 |
e.preventDefault(); |
445 |
- |
|
|