Lines 149-157
Link Here
|
149 |
[% IF relatives %]<li><a href="#opac-user-relative-issues">Relatives' checkouts</a></li>[% END %] |
149 |
[% IF relatives %]<li><a href="#opac-user-relative-issues">Relatives' checkouts</a></li>[% END %] |
150 |
[% IF ( overdues_count ) %]<li><a href="#opac-user-overdues">Overdue ([% overdues_count | html %])</a></li>[% END %] |
150 |
[% IF ( overdues_count ) %]<li><a href="#opac-user-overdues">Overdue ([% overdues_count | html %])</a></li>[% END %] |
151 |
[% IF ( OPACFinesTab ) %] |
151 |
[% IF ( OPACFinesTab ) %] |
152 |
[% IF ( borrower.amountoverfive ) %]<li><a href="#opac-user-fines">Fines ([% amountoutstanding | $Price %])</a></li>[% END %] |
152 |
[% IF ( amountoutstanding > 0 ) %]<li><a href="#opac-user-fines">Fines ([% amountoutstanding | $Price %])</a></li>[% END %] |
153 |
[% IF ( borrower.amountoverzero ) %]<li><a href="#opac-user-fines">Fines ([% amountoutstanding | $Price %])</a></li>[% END %] |
153 |
[% IF ( amountoutstanding < 0 ) %]<li><a href="#opac-user-fines">Credits ([% amountoutstanding * -1 | $Price %])</a></li>[% END %] |
154 |
[% IF ( borrower.amountlessthanzero ) %]<li><a href="#opac-user-fines">Credits ([% amountoutstanding | $Price %])</a></li>[% END %] |
|
|
155 |
[% END %] |
154 |
[% END %] |
156 |
|
155 |
|
157 |
[% IF borrower_club_enrollments.count || borrower_enrollable_clubs.count %] |
156 |
[% IF borrower_club_enrollments.count || borrower_enrollable_clubs.count %] |
Lines 386-392
Link Here
|
386 |
|
385 |
|
387 |
[% IF ( OPACFinesTab ) %] |
386 |
[% IF ( OPACFinesTab ) %] |
388 |
<!-- FINES BOX --> |
387 |
<!-- FINES BOX --> |
389 |
[% IF borrower.amountoverfive %] |
388 |
[% IF ( amountoutstanding > 0 ) %] |
390 |
<div id="opac-user-fines"> <h3>Fines and charges</h3> |
389 |
<div id="opac-user-fines"> <h3>Fines and charges</h3> |
391 |
<table class="table table-bordered table-striped"> |
390 |
<table class="table table-bordered table-striped"> |
392 |
<thead><tr><th colspan="2">Amount</th></tr></thead> |
391 |
<thead><tr><th colspan="2">Amount</th></tr></thead> |
Lines 400-426
Link Here
|
400 |
</div> |
399 |
</div> |
401 |
[% END %] |
400 |
[% END %] |
402 |
|
401 |
|
403 |
[% IF borrower.amountoverzero %] |
402 |
[% IF ( amountoutstanding < 0 ) %] |
404 |
<div id="opac-user-fines"> <h3>Fines and charges</h3> |
|
|
405 |
<table class="table table-bordered table-striped"> |
406 |
<thead><tr><th colspan="2">Amount</th></tr></thead> |
407 |
<tbody> |
408 |
<tr> |
409 |
<td>You currently owe fines and charges amounting to:</td> |
410 |
<td><a href="/cgi-bin/koha/opac-account.pl">[% amountoutstanding | $Price %]</a></td> |
411 |
</tr> |
412 |
</tbody> |
413 |
</table> |
414 |
</div> |
415 |
[% END %] |
416 |
|
417 |
[% IF borrower.amountlessthanzero %] |
418 |
<div id="opac-user-fines"> <h3>Credits</h3> |
403 |
<div id="opac-user-fines"> <h3>Credits</h3> |
419 |
<table class="table table-bordered table-striped"> |
404 |
<table class="table table-bordered table-striped"> |
420 |
<thead><tr><th colspan="2">Amount</th></tr></thead> |
405 |
<thead><tr><th colspan="2">Amount</th></tr></thead> |
421 |
<tbody> |
406 |
<tbody> |
422 |
<tr> |
407 |
<tr> |
423 |
<td>You have a credit of:</td><td><a href="/cgi-bin/koha/opac-account.pl">[% amountoutstanding | $Price %]</a></td> |
408 |
<td>You have a credit of:</td><td><a href="/cgi-bin/koha/opac-account.pl">[% amountoutstanding * -1 | $Price %]</a></td> |
424 |
</tr> |
409 |
</tr> |
425 |
</tbody> |
410 |
</tbody> |
426 |
</table> |
411 |
</table> |