2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Print Receipt for [% cardnumber %]</title>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5 <link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
6 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/printreceiptinvoice.css" />
7 [% INCLUDE 'slip-print.inc' #printThenClose %]
9 <body id="pat_printfeercpt" class="pat" onload="printThenClose();">
12 <!-- The table with the account items -->
14 [% IF ( LibraryName ) %]
16 <th colspan=3 class="centerednames">
17 <h3>[% LibraryName %]</h3>
22 <th colspan=3 class="centerednames">
23 <h2><u>Fee receipt</u></h2>
27 <th colspan=3 class="centerednames">
28 [% IF ( branchname ) %]<h2>[% branchname %]</h2>[% END %]
33 Received with thanks from [% firstname %] [% surname %] <br />
34 Card number : [% cardnumber %]<br />
39 <th>Description of charges</th>
43 [% FOREACH account IN accounts %]
44 <tr class="highlight">
45 <td>[% account.date %]</td>
47 [% SWITCH account.accounttype %]
48 [% CASE 'Pay' %]Payment, thanks
49 [% CASE 'Pay00' %]Payment, thanks (cash via SIP2)
50 [% CASE 'Pay01' %]Payment, thanks (VISA via SIP2)
51 [% CASE 'Pay02' %]Payment, thanks (credit card via SIP2)
52 [% CASE 'N' %]New Card
54 [% CASE 'A' %]Account management fee
56 [% CASE 'L' %]Lost Item
57 [% CASE 'W' %]Writeoff
58 [% CASE %][% account.accounttype %]
60 [%- IF account.description %], [% account.description %][% END %]
62 [% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount %]</td>
68 <td colspan="2">Total outstanding dues as on date : </td>
69 [% IF ( totalcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% total %]</td>
74 [% INCLUDE 'intranet-bottom.inc' %]