Bug 17014 - Remove more event attributes from patron templates
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / members / printfeercpt.tt
1 [% USE Koha %]
2 [% USE KohaDates %]
3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>Print Receipt for [% cardnumber %]</title>
5 [% INCLUDE 'doc-head-close.inc' %]
6 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/printreceiptinvoice.css" />
7 [% INCLUDE 'slip-print.inc' #printThenClose %]
8 </head>
9 <body id="pat_printfeercpt" class="pat">
10
11 <div id="receipt">
12 <!-- The table with the account items -->
13 <table>
14 [% IF ( LibraryName ) %]
15  <tr>
16     <th colspan=4 class="centerednames">
17                 <h3>[% LibraryName %]</h3>
18         </th>
19  </tr>
20 [% END %]
21  <tr>
22     <th colspan=4 class="centerednames">
23         <h2><u>Fee receipt</u></h2>
24         </th>
25  </tr>
26  <tr>
27     <th colspan=4 class="centerednames">
28                 [% IF ( branchname ) %]<h2>[% branchname %]</h2>[% END %]
29         </th>
30  </tr>
31  <tr>
32     <th colspan=4 >
33                 Received with thanks from  [% firstname %] [% surname %] <br />
34         Card number : [% cardnumber %]<br />
35         </th>
36  </tr>
37   <tr>
38         <th>Date</th>
39     <th>Description of charges</th>
40     <th>Note</th>
41     <th>Amount</th>
42  </tr>
43
44   [% FOREACH account IN accounts %]
45 <tr class="highlight">
46       <td>[% account.date | $KohaDates %]</td>
47       <td>
48         [% SWITCH account.accounttype %]
49           [% CASE 'Pay' %]Payment, thanks
50           [% CASE 'Pay00' %]Payment, thanks (cash via SIP2)
51           [% CASE 'Pay01' %]Payment, thanks (VISA via SIP2)
52           [% CASE 'Pay02' %]Payment, thanks (credit card via SIP2)
53           [% CASE 'N' %]New Card
54           [% CASE 'F' %]Fine
55           [% CASE 'A' %]Account management fee
56           [% CASE 'M' %]Sundry
57           [% CASE 'L' %]Lost Item
58           [% CASE 'W' %]Writeoff
59           [% CASE %][% account.accounttype %]
60         [%- END -%]
61         [%- IF account.description %], [% account.description %][% END %]
62       </td>
63       <td>[% account.note %]</td>
64       [% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount %]</td>
65     </tr>
66
67   [% END %]
68 <tfoot>
69   <tr>
70     <td colspan="3">Total outstanding dues as on date : </td>
71     [% IF ( totalcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% total %]</td>
72   </tr>
73   </tfoot>
74 </table>
75 </div>
76 [% INCLUDE 'intranet-bottom.inc' %]