[% USE Koha %] [% INCLUDE 'doc-head-open.inc' %] Print Receipt for [% cardnumber %] [% INCLUDE 'slip-print.inc' #printThenClose %]
[% IF ( LibraryName ) %] [% END %] [% FOREACH account IN accounts %] [% IF ( account.amountcredit ) %] [% IF ( account.amountoutstandingcredit ) %] [% END %] [% IF ( totalcredit ) %]

[% LibraryName %]

INVOICE

[% IF ( branchname ) %]

[% branchname %]

[% END %]
Bill to: [% firstname %] [% surname %]
Card number: [% cardnumber %]
Date Description of charges Amount Amount outstanding
[% account.date %] [% 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 %] [% ELSE %][% END %][% account.amount %][% ELSE %][% END %][% account.amountoutstanding %]
Total outstanding dues as on date: [% ELSE %][% END %][% total %]
[% INCLUDE 'intranet-bottom.inc' %]