5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Print receipt for [% patron.cardnumber %]</title>
7 [% INCLUDE 'doc-head-close.inc' %]
8 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/printreceiptinvoice_[% KOHA_VERSION %].css" />
9 [% INCLUDE 'blocking_errors.inc' %]
12 <body id="pat_printfeercpt" class="pat">
15 <!-- The table with the account items -->
17 [% IF ( LibraryName ) %]
19 <th colspan=4 class="centerednames">
20 <h3>[% LibraryName %]</h3>
25 <th colspan=4 class="centerednames">
26 <h2><u>Fee receipt</u></h2>
30 <th colspan=4 class="centerednames">
31 <h2>[% Branches.GetName( patron.branchcode ) %]</h2>
36 Received with thanks from [% patron.firstname %] [% patron.surname %] <br />
37 Card number : [% patron.cardnumber %]<br />
42 <th>Description of charges</th>
47 [% FOREACH account IN accounts %]
48 <tr class="highlight">
49 <td>[% account.date | $KohaDates %]</td>
51 [% SWITCH account.accounttype %]
52 [% CASE 'Pay' %]Payment, thanks
53 [% CASE 'Pay00' %]Payment, thanks (cash via SIP2)
54 [% CASE 'Pay01' %]Payment, thanks (VISA via SIP2)
55 [% CASE 'Pay02' %]Payment, thanks (credit card via SIP2)
56 [% CASE 'N' %]New Card
58 [% CASE 'A' %]Account management fee
60 [% CASE 'L' %]Lost Item
61 [% CASE 'W' %]Writeoff
62 [% CASE %][% account.accounttype %]
64 [%- IF account.description %], [% account.description %][% END %]
66 <td>[% account.note %]</td>
67 [% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount %]</td>
73 <td colspan="3">Total outstanding dues as on date : </td>
74 [% IF ( totalcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% total %]</td>
80 [% MACRO jsinclude BLOCK %]
81 [% INCLUDE 'slip-print.inc' #printThenClose %]
84 [% INCLUDE 'intranet-bottom.inc' %]