|
Lines 111-116
Link Here
|
| 111 |
<div id="opac-user-views" class="toptabs"> |
111 |
<div id="opac-user-views" class="toptabs"> |
| 112 |
<ul> |
112 |
<ul> |
| 113 |
<li><a href="#opac-user-checkouts">Checked out ([% issues_count %])</a></li> |
113 |
<li><a href="#opac-user-checkouts">Checked out ([% issues_count %])</a></li> |
|
|
114 |
[% IF relatives %]<li><a href="#opac-user-relative-issues">Relatives' checkouts</a></li>[% END %] |
| 114 |
[% IF ( overdues_count ) %]<li><a href="#opac-user-overdues">Overdue ([% overdues_count %])</a></li>[% END %] |
115 |
[% IF ( overdues_count ) %]<li><a href="#opac-user-overdues">Overdue ([% overdues_count %])</a></li>[% END %] |
| 115 |
[% IF ( OPACFinesTab ) %] |
116 |
[% IF ( OPACFinesTab ) %] |
| 116 |
[% IF ( BORROWER_INF.amountoverfive ) %]<li><a href="#opac-user-fines">Fines ([% BORROWER_INF.amountoutstanding %])</a></li>[% END %] |
117 |
[% IF ( BORROWER_INF.amountoverfive ) %]<li><a href="#opac-user-fines">Fines ([% BORROWER_INF.amountoutstanding %])</a></li>[% END %] |
|
Lines 139-145
Link Here
|
| 139 |
[% IF ( show_barcode ) %] |
140 |
[% IF ( show_barcode ) %] |
| 140 |
<th>Barcode</th> |
141 |
<th>Barcode</th> |
| 141 |
[% END %] |
142 |
[% END %] |
| 142 |
<th>Call No.</th> |
143 |
<th>Call number</th> |
| 143 |
[% IF ( OpacRenewalAllowed && !( borrower.is_expired && borrower.BlockExpiredPatronOpacActions ) ) %] |
144 |
[% IF ( OpacRenewalAllowed && !( borrower.is_expired && borrower.BlockExpiredPatronOpacActions ) ) %] |
| 144 |
<th class="nosort">Renew</th> |
145 |
<th class="nosort">Renew</th> |
| 145 |
[% END %] |
146 |
[% END %] |
|
Lines 375-380
Link Here
|
| 375 |
</div> <!-- /#opac-user-waiting --> |
376 |
</div> <!-- /#opac-user-waiting --> |
| 376 |
[% END # waiting_count && atdestination %] |
377 |
[% END # waiting_count && atdestination %] |
| 377 |
|
378 |
|
|
|
379 |
[% IF relatives %] |
| 380 |
<div id="opac-user-relative-issues"> |
| 381 |
<table id="opac-user-relative-issues-table" class="table table-bordered table-striped"> |
| 382 |
<thead> |
| 383 |
<tr> |
| 384 |
<th class="anti-the">Title</th> |
| 385 |
<th>Due</th> |
| 386 |
<th>Barcode</th> |
| 387 |
<th>Call number</th> |
| 388 |
<th class="psort">Relative</th> |
| 389 |
</tr> |
| 390 |
</thead> |
| 391 |
|
| 392 |
<tbody> |
| 393 |
[% FOREACH r IN relatives %] |
| 394 |
[% FOREACH i IN r.issues %] |
| 395 |
<tr> |
| 396 |
<td> |
| 397 |
<a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% i.item.biblio.biblionumber %]"> |
| 398 |
[% i.item.biblio.title %] |
| 399 |
</a> |
| 400 |
</td> |
| 401 |
|
| 402 |
<td> |
| 403 |
[% i.date_due | $KohaDates %] |
| 404 |
</td> |
| 405 |
|
| 406 |
<td> |
| 407 |
[% i.item.barcode %] |
| 408 |
</td> |
| 409 |
|
| 410 |
<td> |
| 411 |
[% i.item.itemcallnumber %] |
| 412 |
</td> |
| 413 |
|
| 414 |
<td> |
| 415 |
[% r.firstname %] [% r.surname %] |
| 416 |
</td> |
| 417 |
</tr> |
| 418 |
[% END %] |
| 419 |
[% END %] |
| 420 |
</tbody> |
| 421 |
</table> |
| 422 |
</div> |
| 423 |
[% END %] |
| 378 |
|
424 |
|
| 379 |
[% IF ( overdues_count ) %] |
425 |
[% IF ( overdues_count ) %] |
| 380 |
<div id="opac-user-overdues"> |
426 |
<div id="opac-user-overdues"> |
|
Lines 387-393
Link Here
|
| 387 |
<th class="anti-the">Title</th> |
433 |
<th class="anti-the">Title</th> |
| 388 |
[% UNLESS ( item_level_itypes ) %]<th>Item type</th> [% END %] |
434 |
[% UNLESS ( item_level_itypes ) %]<th>Item type</th> [% END %] |
| 389 |
[% IF ( show_barcode ) %]<th>Barcode</th>[% END %] |
435 |
[% IF ( show_barcode ) %]<th>Barcode</th>[% END %] |
| 390 |
<th>Call no.</th> |
436 |
<th>Call number</th> |
| 391 |
<th class="title-string psort">Due</th> |
437 |
<th class="title-string psort">Due</th> |
| 392 |
[% IF ( OpacRenewalAllowed ) %] |
438 |
[% IF ( OpacRenewalAllowed ) %] |
| 393 |
<th class="nosort">Renew</th> |
439 |
<th class="nosort">Renew</th> |
|
Lines 705-711
Link Here
|
| 705 |
$(".js-hide").hide(); |
751 |
$(".js-hide").hide(); |
| 706 |
$(".modal-nojs").addClass("modal").addClass("hide").removeClass("modal-nojs"); |
752 |
$(".modal-nojs").addClass("modal").addClass("hide").removeClass("modal-nojs"); |
| 707 |
$(".suspend-until").prop("readonly",1); |
753 |
$(".suspend-until").prop("readonly",1); |
| 708 |
var dTables = $("#checkoutst,#holdst,#overduest"); |
754 |
|
|
|
755 |
var dTables = $("#checkoutst,#holdst,#overduest,#opac-user-relative-issues-table"); |
| 709 |
dTables.each(function(){ |
756 |
dTables.each(function(){ |
| 710 |
var thIndex = $(this).find("th.psort").index(); |
757 |
var thIndex = $(this).find("th.psort").index(); |
| 711 |
$(this).dataTable($.extend(true, {}, dataTablesDefaults, { |
758 |
$(this).dataTable($.extend(true, {}, dataTablesDefaults, { |