4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>Print receipt for [% patron.cardnumber %]</title>
6 [% INCLUDE 'doc-head-close.inc' %]
7 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/printreceiptinvoice_[% KOHA_VERSION %].css" />
10 <body id="printinvoice" class="pat">
13 <!-- The table with the account items -->
15 [% IF ( LibraryName ) %]
17 <th colspan="5" class="centerednames">
18 <h3>[% LibraryName %]</h3>
23 <th colspan="5" class="centerednames">
24 <h2><u>INVOICE</u></h2>
28 <th colspan="5" class="centerednames">
29 <h2>[% Branches.GetName( patron.branchcode ) %]</h2>
34 Bill to: [% patron.firstname %] [% patron.surname %] <br />
35 Card number: [% patron.cardnumber %]<br />
40 <th>Description of charges</th>
42 <th style="text-align:right;">Amount</th>
43 <th style="text-align:right;">Amount outstanding</th>
46 [% FOREACH account IN accounts %]
47 <tr class="highlight">
48 <td>[% account.date %]</td>
50 [% SWITCH account.accounttype %]
51 [% CASE 'Pay' %]Payment, thanks
52 [% CASE 'Pay00' %]Payment, thanks (cash via SIP2)
53 [% CASE 'Pay01' %]Payment, thanks (VISA via SIP2)
54 [% CASE 'Pay02' %]Payment, thanks (credit card via SIP2)
55 [% CASE 'N' %]New Card
57 [% CASE 'A' %]Account management fee
59 [% CASE 'L' %]Lost Item
60 [% CASE 'W' %]Writeoff
61 [% CASE %][% account.accounttype %]
63 [%- IF account.description %], [% account.description %][% END %]
65 <td>[% account.note %]</td>
66 [% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount %]</td>
67 [% IF ( account.amountoutstandingcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amountoutstanding %]</td>
73 <td colspan="4">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' %]