[% USE Asset %] [% USE Koha %] [% USE KohaDates %] [% USE ColumnsSettings %] [% USE AuthorisedValues %] [% USE Price %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Patrons › Account for [% INCLUDE 'patron-title.inc' no_html = 1 %] [% INCLUDE 'doc-head-close.inc' %] [% Asset.css("css/datatables.css") %] [% INCLUDE 'header.inc' %] [% INCLUDE 'patron-search.inc' %]
[% INCLUDE 'members-toolbar.inc' %]
[% IF ( reverse_col ) %] [% ELSE %] [% END %] [% FOREACH account IN accounts %] [% IF ( account.amountcredit ) %] [% IF ( account.amountoutstandingcredit ) %] [% END %] [% IF ( totalcredit ) %] [% ELSE %] [% END %]
Date Description of charges Note Amount OutstandingActions 
[% account.date |$KohaDates %] [% INCLUDE 'accounttype.inc' accountline => account %] [%- IF account.payment_type %], [% AuthorisedValues.GetByCode('PAYMENT_TYPE', account.payment_type) %][% END %] [%- IF account.description %], [% account.description %][% END %]  [% IF ( account.itemnumber ) %][% account.item.biblio.title |html %][% END %] [% account.note | html_line_break %][% ELSE %][% END %][% account.amount | $Price %][% ELSE %][% END %][% account.amountoutstanding | $Price %] [% IF ( account.payment ) %] Print [% ELSE %] Print [% END %] Details [% IF ( reverse_col) %] [% IF ( account.payment ) %] Reverse Void [% ELSE %][% SET footerjs = 1 %]   [% END %] [% END %]
Total due[% total | $Price %][% total | $Price %]
[% INCLUDE 'circ-menu.inc' %]
[% MACRO jsinclude BLOCK %] [% INCLUDE 'datatables.inc' %] [% INCLUDE 'columns_settings.inc' %] [% Asset.js("js/members-menu.js") %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]