Bug 11810: Input fields in OPAC suggestion form are a bit short (Bootstrap)
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / 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 [% BLOCK cssinclude %][% END %]
7 </head>
8 <body id="opac-account" class="scrollto">
9 [% INCLUDE 'masthead.inc' %]
10
11 <div class="main">
12     <ul class="breadcrumb">
13         <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
14         <li>[% FOREACH BORROWER_INF IN BORROWER_INFO %]<a href="/cgi-bin/koha/opac-user.pl">[% BORROWER_INF.firstname %] [% BORROWER_INF.surname %]</a>[% END %] <span class="divider">&rsaquo;</span></li>
15         <li><a href="#">Your fines and charges</a></li>
16     </ul>
17
18     <div class="container-fluid">
19         <div class="row-fluid">
20             <div class="span2">
21                 <div id="navigation">
22                     [% INCLUDE 'navigation.inc' IsPatronPage=1 %]
23                 </div>
24             </div>
25             <div class="span10">
26                 <div id="useraccount" class="maincontent">
27                     <h3>Fines and charges</h3>
28
29                     [% IF ( ACCOUNT_LINES ) %]
30                         <table class="table table-bordered table-striped">
31                             <thead>
32                                 <tr>
33                                     <th>Date</th>
34                                     <th>Description</th>
35                                     <th>Fine amount</th>
36                                     <th>Amount outstanding</th>
37                                 </tr>
38                             </thead>
39
40                             <tfoot>
41                             <tr>
42                                 <th class="sum" colspan="3">Total due</th>
43                                 <td class="sum">[% total %]</td>
44                             </tr>
45                             </tfoot>
46
47                             <tbody>
48                                 [% FOREACH ACCOUNT_LINE IN ACCOUNT_LINES %]
49                                     [% IF ( ACCOUNT_LINE.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %]
50                                         <td>[% ACCOUNT_LINE.date | $KohaDates %]</td>
51                                         <td>
52                                           [% SWITCH ACCOUNT_LINE.accounttype %]
53                                             [% CASE 'Pay' %]Payment,thanks
54                                             [% CASE 'Pay00' %]Payment,thanks (cash via SIP2)
55                                             [% CASE 'Pay01' %]Payment,thanks (VISA via SIP2)
56                                             [% CASE 'Pay02' %]Payment,thanks (credit card via SIP2)
57                                             [% CASE 'N' %]New Card
58                                             [% CASE 'F' %]Fine
59                                             [% CASE 'A' %]Account management fee
60                                             [% CASE 'M' %]Sundry
61                                             [% CASE 'L' %]Lost Item
62                                             [% CASE 'W' %]Writeoff
63                                             [% CASE %][% ACCOUNT_LINE.accounttype %]
64                                           [%- END -%]
65                                           [%- IF ACCOUNT_LINE.description %], [% ACCOUNT_LINE.description %][% END %]
66                                           [% IF ACCOUNT_LINE.title %]([% ACCOUNT_LINE.title %])[% END %]
67                                         </td>
68                                         [% IF ( ACCOUNT_LINE.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% ACCOUNT_LINE.amount %]</td>
69                                         [% IF ( ACCOUNT_LINE.amountoutstandingcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% ACCOUNT_LINE.amountoutstanding %]</td>
70                                     </tr>
71                                 [% END %]
72                             </tbody>
73
74                         </table>
75                     [% ELSE %]
76                         <h4>You have no fines or charges</h4>
77                     [% END %]
78                 </div> <!-- / #useraccount -->
79             </div> <!-- / .span10 -->
80         </div> <!-- / .row-fluid -->
81     </div> <!-- / .container-fluid -->
82 </div> <!-- / .main -->
83
84 [% INCLUDE 'opac-bottom.inc' %]
85 [% BLOCK jsinclude %][% END %]