[% USE raw %] [% USE Asset %] [% USE Koha %] [% USE Branches %] [% USE KohaDates %] [% USE Price %] [% SET footerjs = 1 %] [% PROCESS 'accounts.inc' %] [% 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%] [% PROCESS account_type_description account=account %] [%- IF account.description %], [% account.description | html %][% END %] [% account.note | html %][% ELSE %][% END %][% account.amount | $Price %][% ELSE %][% END %][% account.amountoutstanding | $Price %]
Total outstanding dues as on date: [% ELSE %][% END %][% total | $Price %]
[% MACRO jsinclude BLOCK %] [% INCLUDE 'slip-print.inc' #printThenClose %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]