6 [% INCLUDE 'doc-head-open.inc' %]
7 <title>Print receipt for [% patron.cardnumber %]</title>
8 [% INCLUDE 'doc-head-close.inc' %]
9 [% Asset.css("css/printreceiptinvoice.css") %]
10 [% INCLUDE 'blocking_errors.inc' %]
13 <body id="pat_printfeercpt" class="pat">
16 <!-- The table with the account items -->
18 [% IF ( LibraryName ) %]
20 <th colspan=4 class="centerednames">
21 <h3>[% LibraryName %]</h3>
26 <th colspan=4 class="centerednames">
27 <h2><u>Fee receipt</u></h2>
31 <th colspan=4 class="centerednames">
32 <h2>[% Branches.GetName( patron.branchcode ) %]</h2>
37 Received with thanks from [% patron.firstname %] [% patron.surname %] <br />
38 Card number : [% patron.cardnumber %]<br />
43 <th>Description of charges</th>
48 [% FOREACH account IN accounts %]
49 <tr class="highlight">
50 <td>[% account.date | $KohaDates %]</td>
52 [% SWITCH account.accounttype %]
53 [% CASE 'Pay' %]Payment, thanks
54 [% CASE 'Pay00' %]Payment, thanks (cash via SIP2)
55 [% CASE 'Pay01' %]Payment, thanks (VISA via SIP2)
56 [% CASE 'Pay02' %]Payment, thanks (credit card via SIP2)
57 [% CASE 'N' %]New Card
59 [% CASE 'A' %]Account management fee
61 [% CASE 'L' %]Lost Item
62 [% CASE 'W' %]Writeoff
63 [% CASE %][% account.accounttype %]
65 [%- IF account.description %], [% account.description %][% END %]
67 <td>[% account.note %]</td>
68 [% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount %]</td>
74 <td colspan="3">Total outstanding dues as on date : </td>
75 [% IF ( totalcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% total %]</td>
81 [% MACRO jsinclude BLOCK %]
82 [% INCLUDE 'slip-print.inc' #printThenClose %]
85 [% INCLUDE 'intranet-bottom.inc' %]