|
Lines 2-7
Link Here
|
| 2 |
[% USE Asset %] |
2 |
[% USE Asset %] |
| 3 |
[% USE Koha %] |
3 |
[% USE Koha %] |
| 4 |
[% USE KohaDates %] |
4 |
[% USE KohaDates %] |
|
|
5 |
[% USE TablesSettings %] |
| 5 |
[% USE Branches %] |
6 |
[% USE Branches %] |
| 6 |
[% USE I18N %] |
7 |
[% USE I18N %] |
| 7 |
[% USE ItemTypes %] |
8 |
[% USE ItemTypes %] |
|
Lines 309-337
Link Here
|
| 309 |
<thead> |
310 |
<thead> |
| 310 |
<tr> |
311 |
<tr> |
| 311 |
[% IF ( JacketImages ) %]<th class="no-sort"> </th>[% END %] |
312 |
[% IF ( JacketImages ) %]<th class="no-sort"> </th>[% END %] |
| 312 |
<th class="all anti-the">Title</th> |
313 |
<th id="title" data-colname="title" class="all anti-the">Title</th> |
| 313 |
<th>Author</th> |
314 |
<th id="author" data-colname="author">Author</th> |
| 314 |
<th>Checked out on</th> |
315 |
<th id="checkoutdate" data-colname="checkoutdate" class="psort">Checked out on</th> |
| 315 |
<th class="psort">Due</th> |
316 |
<th id="duedate" data-colname="datedue" class="psort">Due</th> |
| 316 |
[% IF ( Koha.Preference('BiblioItemtypeInfo') || !item_level_itypes ) %] |
317 |
[% IF ( Koha.Preference('BiblioItemtypeInfo') || !item_level_itypes ) %] |
| 317 |
<th>Item type</th> |
318 |
<th data-colname="itemtype">Item type</th> |
| 318 |
[% END %] |
319 |
[% END %] |
| 319 |
[% IF ( show_barcode ) %] |
320 |
[% IF ( show_barcode ) %] |
| 320 |
<th>Barcode</th> |
321 |
<th data-colname="barcode">Barcode</th> |
| 321 |
[% END %] |
322 |
[% END %] |
| 322 |
<th>Call number</th> |
323 |
<th data-colname="callnumber">Call number</th> |
| 323 |
[% IF ( OpacRenewalAllowed && !( logged_in_user.is_expired && logged_in_user.category.effective_BlockExpiredPatronOpacActions_contains('renew') ) ) %] |
324 |
[% IF ( OpacRenewalAllowed && !( logged_in_user.is_expired && logged_in_user.category.effective_BlockExpiredPatronOpacActions_contains('renew') ) ) %] |
| 324 |
<th>Renew</th> |
325 |
<th data-colname="renew">Renew</th> |
| 325 |
[% END %] |
326 |
[% END %] |
| 326 |
[% IF ( OPACFinesTab ) %] |
327 |
[% IF ( OPACFinesTab ) %] |
| 327 |
<th>Fines</th> |
328 |
<th data-colname="fines">Fines</th> |
| 328 |
[% END %] |
329 |
[% END %] |
| 329 |
[% IF Koha.Preference('OPACMySummaryHTML') %] |
330 |
[% IF Koha.Preference('OPACMySummaryHTML') %] |
| 330 |
<th class="no-sort">Links</th> |
331 |
<th class="no-sort" data-colname="links">Links</th> |
| 331 |
[% END %] |
332 |
[% END %] |
| 332 |
[% IF ( Koha.Preference('AllowCheckoutNotes') ) %] |
333 |
[% IF ( Koha.Preference('AllowCheckoutNotes') ) %] |
| 333 |
<th class="hidden">Checkout note</th> |
334 |
<th class="hidden">Checkout note</th> |
| 334 |
<th id="checkout-notes" class="no-sort no-export" title="Use this to report any problems with your currently checked out items">Report a problem</th> |
335 |
<th id="checkout-notes" class="no-sort no-export" title="Use this to report any problems with your currently checked out items" data-colname="note">Report a problem</th> |
| 335 |
[% END %] |
336 |
[% END %] |
| 336 |
<th class="dtr-control-col"></th> |
337 |
<th class="dtr-control-col"></th> |
| 337 |
</tr> |
338 |
</tr> |
|
Lines 650-660
Link Here
|
| 650 |
<caption class="sr-only">Relatives' checkouts</caption> |
651 |
<caption class="sr-only">Relatives' checkouts</caption> |
| 651 |
<thead> |
652 |
<thead> |
| 652 |
<tr> |
653 |
<tr> |
| 653 |
<th class="all anti-the">Title</th> |
654 |
<th data-colname="title" class="all anti-the">Title</th> |
| 654 |
<th>Due</th> |
655 |
<th data-colname="duedate">Due</th> |
| 655 |
<th>Barcode</th> |
656 |
<th data-colname="barcode">Barcode</th> |
| 656 |
<th>Call number</th> |
657 |
<th data-colname="callnumber">Call number</th> |
| 657 |
<th class="psort">Relative</th> |
658 |
<th data-colname="relative" class="psort">Relative</th> |
| 658 |
<th class="dtr-control-col"></th> |
659 |
<th class="dtr-control-col"></th> |
| 659 |
</tr> |
660 |
</tr> |
| 660 |
</thead> |
661 |
</thead> |
|
Lines 692-708
Link Here
|
| 692 |
<thead> |
693 |
<thead> |
| 693 |
<tr> |
694 |
<tr> |
| 694 |
[% IF ( JacketImages ) %]<th class="no-sort"> </th>[% END %] |
695 |
[% IF ( JacketImages ) %]<th class="no-sort"> </th>[% END %] |
| 695 |
<th class="all anti-the">Title</th> |
696 |
<th data-colname="title" class="all anti-the">Title</th> |
| 696 |
[% UNLESS ( item_level_itypes ) %]<th>Item type</th>[% END %] |
697 |
[% UNLESS ( item_level_itypes ) %]<th data-colname="itemtype">Item type</th> [% END %] |
| 697 |
[% IF ( show_barcode ) %]<th>Barcode</th>[% END %] |
698 |
[% IF ( show_barcode ) %]<th data-colname="barcode">Barcode</th>[% END %] |
| 698 |
<th>Call number</th> |
699 |
<th data-colname="callnumber">Call number</th> |
| 699 |
<th>Checked out on</th> |
700 |
<th data-colname="checkoutdate">Checked out on</th> |
| 700 |
<th class="psort">Due</th> |
701 |
<th data-colname="duedate" class="psort">Due</th> |
| 701 |
[% IF ( OpacRenewalAllowed ) %] |
702 |
[% IF ( OpacRenewalAllowed ) %] |
| 702 |
<th class="no-sort">Renew</th> |
703 |
<th data-colname="renew" class="no-sort">Renew</th> |
| 703 |
[% END %] |
704 |
[% END %] |
| 704 |
[% IF ( OPACFinesTab ) %] |
705 |
[% IF ( OPACFinesTab ) %] |
| 705 |
<th>Fines</th> |
706 |
<th data-colname="fines">Fines</th> |
| 706 |
[% END %] |
707 |
[% END %] |
| 707 |
<th class="dtr-control-col"></th> |
708 |
<th class="dtr-control-col"></th> |
| 708 |
</tr> |
709 |
</tr> |
|
Lines 1175-1180
Link Here
|
| 1175 |
); |
1176 |
); |
| 1176 |
}); |
1177 |
}); |
| 1177 |
|
1178 |
|
|
|
1179 |
var tables_settings = new Map(); |
| 1180 |
[% FOREACH table IN ['checkoutst', 'holdst', 'overduest','opac_user_relative_issues_table'] %] |
| 1181 |
tables_settings.set("[% table | $raw %]", [% TablesSettings.GetTableSettings( 'opac', 'patron_details', table, 'json') | $raw %]); |
| 1182 |
[% END %] |
| 1178 |
var dTables = $("#checkoutst,#holdst,#overduest,#opac-user-relative-issues-table"); |
1183 |
var dTables = $("#checkoutst,#holdst,#overduest,#opac-user-relative-issues-table"); |
| 1179 |
dTables.each(function(){ |
1184 |
dTables.each(function(){ |
| 1180 |
var thIndex = $(this).find("th.psort").index(); |
1185 |
var thIndex = $(this).find("th.psort").index(); |
|
Lines 1216-1222
Link Here
|
| 1216 |
} |
1221 |
} |
| 1217 |
} |
1222 |
} |
| 1218 |
] |
1223 |
] |
| 1219 |
}); |
1224 |
}, tables_settings.get($(this).attr('id'))); |
| 1220 |
}); |
1225 |
}); |
| 1221 |
|
1226 |
|
| 1222 |
var dataTables = $("#recalls-table,#article-requests-table"); |
1227 |
var dataTables = $("#recalls-table,#article-requests-table"); |
| 1223 |
- |
|
|