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">
23 [% letter.content | evaltt %]
25 <!-- The table with the account items -->
27 [% IF ( LibraryName ) %]
29 <th colspan=4 class="centerednames">
30 <h3>[% LibraryName | html %]</h3>
35 <th colspan=4 class="centerednames">
36 <h2><u>Fee receipt</u></h2>
40 <th colspan=4 class="centerednames">
41 <h2>[% Branches.GetName( patron.branchcode ) | html %]</h2>
46 Received with thanks from [% patron.firstname | html %] [% patron.surname | html %] <br />
47 Card number: [% patron.cardnumber | html %]<br />
52 <th>Description of charges</th>
57 [% FOREACH account IN accounts %]
58 <tr class="highlight">
59 <td>[% account.date | $KohaDates %]</td>
61 [% PROCESS account_type_description account=account %]
62 [%- IF account.description %], [% account.description | html %][% END %]
64 <td>[% account.note | html %]</td>
65 [% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount | $Price %]</td>
71 <td colspan="3">Total outstanding dues as on date: </td>
72 [% IF ( totalcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% total | $Price %]</td>
76 <!-- / The table with the account items -->
81 [% MACRO jsinclude BLOCK %]
82 [% INCLUDE 'slip-print.inc' #printThenClose %]
85 [% INCLUDE 'intranet-bottom.inc' %]