|
Lines 110-115
Link Here
|
| 110 |
<div id="opac-user-views" class="toptabs"> |
110 |
<div id="opac-user-views" class="toptabs"> |
| 111 |
<ul> |
111 |
<ul> |
| 112 |
<li><a href="#opac-user-checkouts">Checked out ([% issues_count %])</a></li> |
112 |
<li><a href="#opac-user-checkouts">Checked out ([% issues_count %])</a></li> |
|
|
113 |
[% IF relatives %]<li><a href="#opac-user-relative-issues">Relatives' checkouts</a></li>[% END %] |
| 113 |
[% IF ( overdues_count ) %]<li><a href="#opac-user-overdues">Overdue ([% overdues_count %])</a></li>[% END %] |
114 |
[% IF ( overdues_count ) %]<li><a href="#opac-user-overdues">Overdue ([% overdues_count %])</a></li>[% END %] |
| 114 |
[% IF ( OPACFinesTab ) %] |
115 |
[% IF ( OPACFinesTab ) %] |
| 115 |
[% IF ( BORROWER_INF.amountoverfive ) %]<li><a href="#opac-user-fines">Fines ([% BORROWER_INF.amountoutstanding %])</a></li>[% END %] |
116 |
[% IF ( BORROWER_INF.amountoverfive ) %]<li><a href="#opac-user-fines">Fines ([% BORROWER_INF.amountoutstanding %])</a></li>[% END %] |
|
Lines 137-143
Link Here
|
| 137 |
[% IF ( show_barcode ) %] |
138 |
[% IF ( show_barcode ) %] |
| 138 |
<th>Barcode</th> |
139 |
<th>Barcode</th> |
| 139 |
[% END %] |
140 |
[% END %] |
| 140 |
<th>Call No.</th> |
141 |
<th>Call number</th> |
| 141 |
[% IF ( OpacRenewalAllowed && !( borrower.is_expired && borrower.BlockExpiredPatronOpacActions ) ) %] |
142 |
[% IF ( OpacRenewalAllowed && !( borrower.is_expired && borrower.BlockExpiredPatronOpacActions ) ) %] |
| 142 |
<th class="nosort">Renew</th> |
143 |
<th class="nosort">Renew</th> |
| 143 |
[% END %] |
144 |
[% END %] |
|
Lines 332-337
Link Here
|
| 332 |
[% END %] |
333 |
[% END %] |
| 333 |
[% END # / OPACFinesTab %] |
334 |
[% END # / OPACFinesTab %] |
| 334 |
|
335 |
|
|
|
336 |
[% IF relatives %] |
| 337 |
<div id="opac-user-relative-issues"> |
| 338 |
<table id="opac-user-relative-issues-table" class="table table-bordered table-striped"> |
| 339 |
<thead> |
| 340 |
<tr> |
| 341 |
<th class="anti-the">Title</th> |
| 342 |
<th>Due</th> |
| 343 |
<th>Barcode</th> |
| 344 |
<th>Call number</th> |
| 345 |
<th class="psort">Relative</th> |
| 346 |
</tr> |
| 347 |
</thead> |
| 348 |
|
| 349 |
<tbody> |
| 350 |
[% FOREACH r IN relatives %] |
| 351 |
[% FOREACH i IN r.issues %] |
| 352 |
<tr> |
| 353 |
<td> |
| 354 |
<a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% i.item.biblio.biblionumber %]"> |
| 355 |
[% i.item.biblio.title %] |
| 356 |
</a> |
| 357 |
</td> |
| 358 |
|
| 359 |
<td> |
| 360 |
[% i.date_due | $KohaDates %] |
| 361 |
</td> |
| 362 |
|
| 363 |
<td> |
| 364 |
[% i.item.barcode %] |
| 365 |
</td> |
| 366 |
|
| 367 |
<td> |
| 368 |
[% i.item.itemcallnumber %] |
| 369 |
</td> |
| 370 |
|
| 371 |
<td> |
| 372 |
[% r.firstname %] [% r.surname %] |
| 373 |
</td> |
| 374 |
</tr> |
| 375 |
[% END %] |
| 376 |
[% END %] |
| 377 |
</tbody> |
| 378 |
</table> |
| 379 |
</div> |
| 380 |
[% END %] |
| 381 |
|
| 335 |
[% IF ( overdues_count ) %] |
382 |
[% IF ( overdues_count ) %] |
| 336 |
<div id="opac-user-overdues"> |
383 |
<div id="opac-user-overdues"> |
| 337 |
<table id="overduest" class="table table-bordered table-striped"> |
384 |
<table id="overduest" class="table table-bordered table-striped"> |
|
Lines 343-349
Link Here
|
| 343 |
<th class="anti-the">Title</th> |
390 |
<th class="anti-the">Title</th> |
| 344 |
[% UNLESS ( item_level_itypes ) %]<th>Item type</th> [% END %] |
391 |
[% UNLESS ( item_level_itypes ) %]<th>Item type</th> [% END %] |
| 345 |
[% IF ( show_barcode ) %]<th>Barcode</th>[% END %] |
392 |
[% IF ( show_barcode ) %]<th>Barcode</th>[% END %] |
| 346 |
<th>Call no.</th> |
393 |
<th>Call number</th> |
| 347 |
<th class="title-string psort">Due</th> |
394 |
<th class="title-string psort">Due</th> |
| 348 |
[% IF ( OpacRenewalAllowed ) %] |
395 |
[% IF ( OpacRenewalAllowed ) %] |
| 349 |
<th class="nosort">Renew</th> |
396 |
<th class="nosort">Renew</th> |
|
Lines 671-677
Link Here
|
| 671 |
$(".js-hide").hide(); |
718 |
$(".js-hide").hide(); |
| 672 |
$(".modal-nojs").addClass("modal").addClass("hide").removeClass("modal-nojs"); |
719 |
$(".modal-nojs").addClass("modal").addClass("hide").removeClass("modal-nojs"); |
| 673 |
$(".suspend-until").prop("readonly",1); |
720 |
$(".suspend-until").prop("readonly",1); |
| 674 |
var dTables = $("#checkoutst,#holdst,#overduest"); |
721 |
|
|
|
722 |
var dTables = $("#checkoutst,#holdst,#overduest,#opac-user-relative-issues-table"); |
| 675 |
dTables.each(function(){ |
723 |
dTables.each(function(){ |
| 676 |
var thIndex = $(this).find("th.psort").index(); |
724 |
var thIndex = $(this).find("th.psort").index(); |
| 677 |
$(this).dataTable($.extend(true, {}, dataTablesDefaults, { |
725 |
$(this).dataTable($.extend(true, {}, dataTablesDefaults, { |