[% USE Koha %] [% USE Branches %] [% USE KohaDates %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Print receipt for [% patron.cardnumber %] [% INCLUDE 'doc-head-close.inc' %]
[% IF ( LibraryName ) %] [% END %] [% FOREACH account IN accounts %] [% IF ( account.amountcredit ) %] [% IF ( account.amountoutstandingcredit ) %] [% END %] [% IF ( totalcredit ) %]

[% LibraryName %]

INVOICE

[% Branches.GetName( patron.branchcode ) %]

Bill to: [% patron.firstname %] [% patron.surname %]
Card number: [% patron.cardnumber %]
Date Description of charges Note Amount Amount outstanding
[% account.date | $KohaDates%] [% SWITCH account.accounttype %] [% CASE 'Pay' %]Payment, thanks [% CASE 'Pay00' %]Payment, thanks (cash via SIP2) [% CASE 'Pay01' %]Payment, thanks (VISA via SIP2) [% CASE 'Pay02' %]Payment, thanks (credit card via SIP2) [% CASE 'N' %]New Card [% CASE 'F' %]Fine [% CASE 'A' %]Account management fee [% CASE 'M' %]Sundry [% CASE 'L' %]Lost Item [% CASE 'W' %]Writeoff [% CASE %][% account.accounttype %] [%- END -%] [%- IF account.description %], [% account.description %][% END %] [% account.note %][% ELSE %][% END %][% account.amount %][% ELSE %][% END %][% account.amountoutstanding %]
Total outstanding dues as on date: [% ELSE %][% END %][% total %]
[% MACRO jsinclude BLOCK %] [% INCLUDE 'slip-print.inc' #printThenClose %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]