Lines 104-109
Link Here
|
104 |
<div id="opac-user-views" class="toptabs"> |
104 |
<div id="opac-user-views" class="toptabs"> |
105 |
<ul> |
105 |
<ul> |
106 |
<li><a href="#opac-user-checkouts">Checked out ([% issues_count %])</a></li> |
106 |
<li><a href="#opac-user-checkouts">Checked out ([% issues_count %])</a></li> |
|
|
107 |
[% IF relatives %]<li><a href="#opac-user-relative-issues">Relatives' checkouts</a></li>[% END %] |
107 |
[% IF ( overdues_count ) %]<li><a href="#opac-user-overdues">Overdue ([% overdues_count %])</a></li>[% END %] |
108 |
[% IF ( overdues_count ) %]<li><a href="#opac-user-overdues">Overdue ([% overdues_count %])</a></li>[% END %] |
108 |
[% IF ( OPACFinesTab ) %] |
109 |
[% IF ( OPACFinesTab ) %] |
109 |
[% IF ( BORROWER_INF.amountoverfive ) %]<li><a href="#opac-user-fines">Fines ([% BORROWER_INF.amountoutstanding %])</a></li>[% END %] |
110 |
[% IF ( BORROWER_INF.amountoverfive ) %]<li><a href="#opac-user-fines">Fines ([% BORROWER_INF.amountoutstanding %])</a></li>[% END %] |
Lines 132-138
Link Here
|
132 |
[% IF ( show_barcode ) %] |
133 |
[% IF ( show_barcode ) %] |
133 |
<th>Barcode</th> |
134 |
<th>Barcode</th> |
134 |
[% END %] |
135 |
[% END %] |
135 |
<th>Call No.</th> |
136 |
<th>Call number</th> |
136 |
[% IF ( OpacRenewalAllowed && !( borrower.is_expired && borrower.BlockExpiredPatronOpacActions ) ) %] |
137 |
[% IF ( OpacRenewalAllowed && !( borrower.is_expired && borrower.BlockExpiredPatronOpacActions ) ) %] |
137 |
<th class="nosort">Renew</th> |
138 |
<th class="nosort">Renew</th> |
138 |
[% END %] |
139 |
[% END %] |
Lines 365-370
Link Here
|
365 |
</div> <!-- /#opac-user-waiting --> |
366 |
</div> <!-- /#opac-user-waiting --> |
366 |
[% END # waiting_count && atdestination %] |
367 |
[% END # waiting_count && atdestination %] |
367 |
|
368 |
|
|
|
369 |
[% IF relatives %] |
370 |
<div id="opac-user-relative-issues"> |
371 |
<table id="opac-user-relative-issues-table" class="table table-bordered table-striped"> |
372 |
<thead> |
373 |
<tr> |
374 |
<th class="anti-the">Title</th> |
375 |
<th>Due</th> |
376 |
<th>Barcode</th> |
377 |
<th>Call number</th> |
378 |
<th class="psort">Relative</th> |
379 |
</tr> |
380 |
</thead> |
381 |
|
382 |
<tbody> |
383 |
[% FOREACH r IN relatives %] |
384 |
[% FOREACH i IN r.issues %] |
385 |
<tr> |
386 |
<td> |
387 |
<a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% i.item.biblio.biblionumber %]"> |
388 |
[% i.item.biblio.title %] |
389 |
</a> |
390 |
</td> |
391 |
|
392 |
<td> |
393 |
[% i.date_due | $KohaDates %] |
394 |
</td> |
395 |
|
396 |
<td> |
397 |
[% i.item.barcode %] |
398 |
</td> |
399 |
|
400 |
<td> |
401 |
[% i.item.itemcallnumber %] |
402 |
</td> |
403 |
|
404 |
<td> |
405 |
[% r.firstname %] [% r.surname %] |
406 |
</td> |
407 |
</tr> |
408 |
[% END %] |
409 |
[% END %] |
410 |
</tbody> |
411 |
</table> |
412 |
</div> |
413 |
[% END %] |
368 |
|
414 |
|
369 |
[% IF ( overdues_count ) %] |
415 |
[% IF ( overdues_count ) %] |
370 |
<div id="opac-user-overdues"> |
416 |
<div id="opac-user-overdues"> |
Lines 377-383
Link Here
|
377 |
<th class="anti-the">Title</th> |
423 |
<th class="anti-the">Title</th> |
378 |
[% UNLESS ( item_level_itypes ) %]<th>Item type</th> [% END %] |
424 |
[% UNLESS ( item_level_itypes ) %]<th>Item type</th> [% END %] |
379 |
[% IF ( show_barcode ) %]<th>Barcode</th>[% END %] |
425 |
[% IF ( show_barcode ) %]<th>Barcode</th>[% END %] |
380 |
<th>Call no.</th> |
426 |
<th>Call number</th> |
381 |
<th class="title-string psort">Due</th> |
427 |
<th class="title-string psort">Due</th> |
382 |
[% IF ( OpacRenewalAllowed ) %] |
428 |
[% IF ( OpacRenewalAllowed ) %] |
383 |
<th class="nosort">Renew</th> |
429 |
<th class="nosort">Renew</th> |
Lines 692-698
Link Here
|
692 |
$(".js-hide").hide(); |
738 |
$(".js-hide").hide(); |
693 |
$(".modal-nojs").addClass("modal").addClass("hide").removeClass("modal-nojs"); |
739 |
$(".modal-nojs").addClass("modal").addClass("hide").removeClass("modal-nojs"); |
694 |
$(".suspend-until").prop("readonly",1); |
740 |
$(".suspend-until").prop("readonly",1); |
695 |
var dTables = $("#checkoutst,#holdst,#overduest"); |
741 |
|
|
|
742 |
var dTables = $("#checkoutst,#holdst,#overduest,#opac-user-relative-issues-table"); |
696 |
dTables.each(function(){ |
743 |
dTables.each(function(){ |
697 |
var thIndex = $(this).find("th.psort").index(); |
744 |
var thIndex = $(this).find("th.psort").index(); |
698 |
$(this).dataTable($.extend(true, {}, dataTablesDefaults, { |
745 |
$(this).dataTable($.extend(true, {}, dataTablesDefaults, { |