Bug 13618: Remove html filters at the intranet
[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 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
7 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/printreceiptinvoice.css" />
8 [% INCLUDE 'slip-print.inc' #printThenClose %]
9 </head>
10 <body id="pat_printfeercpt" class="pat" onload="printThenClose();">
11
12 <div id="receipt">
13 <!-- The table with the account items -->
14 <table>
15 [% IF ( LibraryName ) %]
16  <tr>
17         <th colspan=3 class="centerednames">
18                 <h3>[% LibraryName %]</h3>
19         </th>
20  </tr>
21 [% END %]
22  <tr>
23         <th colspan=3 class="centerednames">
24         <h2><u>Fee receipt</u></h2>
25         </th>
26  </tr>
27  <tr>
28         <th colspan=3 class="centerednames">
29                 [% IF ( branchname ) %]<h2>[% branchname %]</h2>[% END %]
30         </th>
31  </tr>
32  <tr>
33         <th colspan=3 >
34                 Received with thanks from  [% firstname %] [% surname %] <br />
35         Card number : [% cardnumber %]<br />
36         </th>
37  </tr>
38   <tr>
39         <th>Date</th>
40     <th>Description of charges</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       [% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount %]</td>
64     </tr>
65
66   [% END %]
67 <tfoot>
68   <tr>
69     <td colspan="2">Total outstanding dues as on date : </td>
70     [% IF ( totalcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% total %]</td>
71   </tr>
72   </tfoot>
73 </table>
74 </div>
75 [% INCLUDE 'intranet-bottom.inc' %]