Bug 10552: make several sysprefs available to the OPAC login page
[koha.git] / koha-tmpl / opac-tmpl / prog / en / modules / opac-account.tt
1 [% USE Koha %]
2 [% USE KohaDates %]
3
4 [% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Your fines and charges
5 [% INCLUDE 'doc-head-close.inc' %]
6 </head>
7 <body id="opac-account">
8 <div id="doc3" class="yui-t1">
9    <div id="bd">
10 [% INCLUDE 'masthead.inc' %]
11
12         <div id="yui-main">
13         <div class="yui-b"><div class="yui-g">
14                 <div id="useraccount" class="container">
15 <!--CONTENT-->
16     [% FOREACH BORROWER_INF IN BORROWER_INFO %]
17         <h3><a href="/cgi-bin/koha/opac-user.pl">[% BORROWER_INF.firstname %] [% BORROWER_INF.surname %]'s account</a> &#8674; Fines and charges</h3>
18     [% END %]
19
20     [% IF ( ACCOUNT_LINES ) %]
21         <table>
22             <thead>
23                 <tr>
24                     <th>Date</th>
25                     <th>Description</th>
26                     <th>Fine amount</th>
27                     <th>Amount outstanding</th>
28                 </tr>
29             </thead>
30
31             <tfoot>
32             <tr>
33                 <th class="sum" colspan="3">Total due</th>
34                 <td class="sum">[% total %]</td>
35             </tr>
36             </tfoot>
37
38             <tbody>
39                 [% FOREACH ACCOUNT_LINE IN ACCOUNT_LINES %]
40                     [% IF ( ACCOUNT_LINE.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %]
41                         <td>[% ACCOUNT_LINE.date | $KohaDates %]</td>
42                         <td>[% ACCOUNT_LINE.description %]
43                         [% IF ( ACCOUNT_LINE.title ) %][% ACCOUNT_LINE.title |html %][% END %]</td>
44                         [% IF ( ACCOUNT_LINE.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% ACCOUNT_LINE.amount %]</td>
45                         [% IF ( ACCOUNT_LINE.amountoutstandingcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% ACCOUNT_LINE.amountoutstanding %]</td>
46                     </tr>
47                 [% END %]
48             </tbody>
49
50         </table>
51     [% ELSE %]
52         <h4>You have no fines or charges</h4>
53     [% END %]
54 </div>
55 </div>
56 </div>
57 </div>
58 <div class="yui-b">
59 <div id="leftmenus" class="container">
60 [% INCLUDE 'navigation.inc' IsPatronPage=1 %]
61 </div>
62 </div>
63 </div>
64 [% INCLUDE 'opac-bottom.inc' %]