Lines 1655-1661
Link Here
|
1655 |
<script src="https://imageserver.ebscohost.com/novelistselect/ns2init.js"></script> |
1655 |
<script src="https://imageserver.ebscohost.com/novelistselect/ns2init.js"></script> |
1656 |
[% END %] |
1656 |
[% END %] |
1657 |
[% INCLUDE 'datatables.inc' %] |
1657 |
[% INCLUDE 'datatables.inc' %] |
1658 |
[% INCLUDE 'columns_settings.inc' %] |
|
|
1659 |
[% INCLUDE 'js-date-format.inc' %] |
1658 |
[% INCLUDE 'js-date-format.inc' %] |
1660 |
[% Asset.js("lib/dayjs/plugin/isSameOrAfter.js") | $raw %] |
1659 |
[% Asset.js("lib/dayjs/plugin/isSameOrAfter.js") | $raw %] |
1661 |
[% Asset.js("lib/dayjs/plugin/isSameOrBefore.js") | $raw %] |
1660 |
[% Asset.js("lib/dayjs/plugin/isSameOrBefore.js") | $raw %] |
Lines 2023-2034
Link Here
|
2023 |
|
2022 |
|
2024 |
[% IF Koha.Preference('AcquisitionDetails') %] |
2023 |
[% IF Koha.Preference('AcquisitionDetails') %] |
2025 |
var table_settings = [% TablesSettings.GetTableSettings('catalogue', 'detail', 'acquisitiondetails-table', 'json') | $raw %]; |
2024 |
var table_settings = [% TablesSettings.GetTableSettings('catalogue', 'detail', 'acquisitiondetails-table', 'json') | $raw %]; |
2026 |
var acquisitiondetails_table = KohaTable("orders", { |
2025 |
var acquisitiondetails_table = $("#orders").kohaTable( |
2027 |
"dom": 'C<"top pager"ilpfB><"#filter_c">tr<"bottom pager"ip>', |
2026 |
{ |
2028 |
"paginate": false, |
2027 |
dom: 'C<"top pager"ilpfB><"#filter_c">tr<"bottom pager"ip>', |
2029 |
"autoWidth": false, |
2028 |
paginate: false, |
2030 |
"order": [[ 4, "desc" ]], |
2029 |
autoWidth: false, |
2031 |
}, table_settings); |
2030 |
order: [[4, "desc"]], |
|
|
2031 |
}, |
2032 |
table_settings |
2033 |
); |
2032 |
[% END %] |
2034 |
[% END %] |
2033 |
|
2035 |
|
2034 |
[% IF suggestions.count %] |
2036 |
[% IF suggestions.count %] |
Lines 2043-2053
Link Here
|
2043 |
|
2045 |
|
2044 |
[% IF ( reviews ) %] |
2046 |
[% IF ( reviews ) %] |
2045 |
var comment_table_settings = [% TablesSettings.GetTableSettings('catalogue', 'detail', 'comments-table', 'json') | $raw %]; |
2047 |
var comment_table_settings = [% TablesSettings.GetTableSettings('catalogue', 'detail', 'comments-table', 'json') | $raw %]; |
2046 |
var comments_table = KohaTable("comments_table", { |
2048 |
var comments_table = $("#comments_table").kohaTable( |
2047 |
"paginate": false, |
2049 |
{ |
2048 |
"autoWidth": false, |
2050 |
paginate: false, |
2049 |
"order": [[ 2, "desc" ]], |
2051 |
autoWidth: false, |
2050 |
}, comment_table_settings); |
2052 |
order: [[2, "desc"]], |
|
|
2053 |
}, |
2054 |
comment_table_settings |
2055 |
); |
2051 |
[% END %] |
2056 |
[% END %] |
2052 |
}); |
2057 |
}); |
2053 |
|
2058 |
|