Merge remote-tracking branch 'origin/new/bug_6328'
[koha.git] / koha-tmpl / opac-tmpl / prog / en / modules / opac-account.tt
1 [% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha Online[% END %] Catalog ›  Account for [% FOREACH BORROWER_INF IN BORROWER_INFO %][% BORROWER_INF.firstname %] [% BORROWER_INF.surname %][% END %]
2 [% INCLUDE 'doc-head-close.inc' %]
3 </head>
4 <body id="opac-account">
5 <div id="doc3" class="yui-t1">
6    <div id="bd">
7 [% INCLUDE 'masthead.inc' %]
8
9         <div id="yui-main">
10         <div class="yui-b"><div class="yui-g">
11                 <div id="useraccount" class="container">
12 <!--CONTENT-->
13     [% FOREACH BORROWER_INF IN BORROWER_INFO %]
14         <h3><a href="/cgi-bin/koha/opac-user.pl">[% BORROWER_INF.firstname %] [% BORROWER_INF.surname %]'s account</a> <img src="[% themelang %]../../images/caret.gif" width="16" height="16" alt="&gt;" border="0" /> Fines and Charges</h3>
15     [% END %]
16
17     [% IF ( ACCOUNT_LINES ) %]
18         <table>
19             <thead>
20                 <tr>
21                     <th>Date</th>
22                     <th>Description</th>
23                     <th>Fine Amount</th>
24                     <th>Amount Outstanding</th>
25                 </tr>
26             </thead>
27
28             <tfoot>
29             <tr>
30                 <th class="sum" colspan="3">Total Due</th>
31                 <td class="sum">[% total %]</td>
32             </tr>
33             </tfoot>
34
35             <tbody>
36                 [% FOREACH ACCOUNT_LINE IN ACCOUNT_LINES %]
37                     [% IF ( ACCOUNT_LINE.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %]
38                         <td>[% ACCOUNT_LINE.date %]</td>
39                         <td>[% ACCOUNT_LINE.description %]
40                         [% IF ( ACCOUNT_LINE.title ) %][% ACCOUNT_LINE.title |html %][% END %]</td>
41                         [% IF ( ACCOUNT_LINE.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% ACCOUNT_LINE.amount %]</td>
42                         [% IF ( ACCOUNT_LINE.amountoutstandingcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% ACCOUNT_LINE.amountoutstanding %]</td>
43                     </tr>
44                 [% END %]
45             </tbody>
46
47         </table>
48     [% ELSE %]
49         <h4>You have no Fines or Charges</h4>
50     [% END %]
51 </div>
52 </div>
53 </div>
54 </div>
55 <div class="yui-b">
56 <div id="leftmenus" class="container">
57 [% INCLUDE 'navigation.inc' IsPatronPage=1 %]
58 </div>
59 </div>
60 </div>
61 [% INCLUDE 'opac-bottom.inc' %]