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