9 [% PROCESS 'accounts.inc' %]
11 [% INCLUDE 'doc-head-open.inc' %]
12 <title>Print receipt for [% patron.cardnumber | html %]</title>
13 [% INCLUDE 'doc-head-close.inc' %]
14 [% Asset.css("css/printreceiptinvoice.css") | $raw %]
15 [% INCLUDE 'blocking_errors.inc' %]
18 <body id="pat_printfeercpt" class="pat">
21 <!-- The table with the account items -->
23 [% IF ( LibraryName ) %]
25 <th colspan=4 class="centerednames">
26 <h3>[% LibraryName | html %]</h3>
31 <th colspan=4 class="centerednames">
32 <h2><u>Fee receipt</u></h2>
36 <th colspan=4 class="centerednames">
37 <h2>[% Branches.GetName( patron.branchcode ) | html %]</h2>
42 Received with thanks from [% patron.firstname | html %] [% patron.surname | html %] <br />
43 Card number: [% patron.cardnumber | html %]<br />
48 <th>Description of charges</th>
53 [% FOREACH account IN accounts %]
54 <tr class="highlight">
55 <td>[% account.date | $KohaDates %]</td>
57 [% PROCESS account_type_description account=account %]
58 [%- IF account.description %], [% account.description | html %][% END %]
60 <td>[% account.note | html %]</td>
61 [% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount | $Price %]</td>
67 <td colspan="3">Total outstanding dues as on date: </td>
68 [% IF ( totalcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% total | $Price %]</td>
74 [% MACRO jsinclude BLOCK %]
75 [% INCLUDE 'slip-print.inc' #printThenClose %]
78 [% INCLUDE 'intranet-bottom.inc' %]