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

[% LibraryName | html %]

INVOICE

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

Bill to: [% patron.firstname | html %] [% patron.surname | html %]
Card number: [% patron.cardnumber | html %]
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 | html %] [%- END -%] [%- IF account.description %], [% account.description | html %][% END %] [% account.note | html %][% ELSE %][% END %][% account.amount | html %][% ELSE %][% END %][% account.amountoutstanding | html %]
Total outstanding dues as on date: [% ELSE %][% END %][% total | html %]
[% MACRO jsinclude BLOCK %] [% INCLUDE 'slip-print.inc' #printThenClose %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]