-
-[% IF ( OPACFinesTab ) %]
- <!-- FINES BOX -->
- [% IF ( BORROWER_INF.amountoverfive ) %]
- <div id="opac-user-fines"> <h3>Fines and Charges</h3>
- <table>
- <tr><th colspan="2">Amount</th></tr>
- <tr>
- <td>You currently owe fines and charges amounting to:</td>
- <td><a href="/cgi-bin/koha/opac-account.pl">[% BORROWER_INF.amountoutstanding %]</a></td>
- </tr>
- </table></div>
- [% END %]
-
- [% IF ( BORROWER_INF.amountoverzero ) %]
- <div id="opac-user-fines"> <h3>Fines and Charges</h3>
- <table>
- <tr><th colspan="2">Amount</th></tr>
- <tr><td>You currently owe fines and charges amounting to:</td>
- <td><a href="/cgi-bin/koha/opac-account.pl">[% BORROWER_INF.amountoutstanding %]</a></td></tr>
- </table></div>
- [% END %]
-
- [% IF ( BORROWER_INF.amountlessthanzero ) %]
- <div id="opac-user-fines"> <h3>Credits</h3>
- <table>
- <tr><th colspan="2">Amount</th></tr>
- <tr><td>You have a credit of:</td><td><a href="/cgi-bin/koha/opac-account.pl">[% BORROWER_INF.amountoutstanding %]</a></td></tr>
- </table></div>
- [% END %]
-[% END %]
-
- [% END %]
-
- [% IF ( waiting_count ) %]
- [% IF ( atdestination ) %]
- <div id="opac-user-waiting">
- <table id="waitingt">
- <caption>Holds Waiting</caption>
- <thead> <tr>
- <th colspan="2" class="{sorter:'articles'}">Title</th>
- <th>Hold date</th>
- <th>Pick Up Library</th>
- </tr></thead>
- <tbody>[% FOREACH WAITIN IN WAITING %]
- <tr>
- <td><img src="[% themelang %]/images/[% WAITIN.itemtype %].gif" alt="[% WAITIN.itemtype %]" title="[% WAITIN.itemtype %]" /></td>
- <td><a href="opac-detail.pl?biblionumber=[% WAITIN.biblionumber %]">
- [% WAITIN.waiting_title %]
- </a><span class="item-details">
- [% WAITIN.author %]
- </span></td>
- <td>[% WAITIN.reservedate %]</td>
- <td>[% IF ( WAITIN.atdestination ) %]<strong>Waiting</strong> at [% WAITIN.branch %]
- [% ELSE %]
- In transit from [% WAITIN.holdingbranch %] to [% WAITIN.branch %]
- [% END %]</td>
- </tr>
- [% END %]</tbody>
- </table></div>
- [% END %]
- [% END %]