[% USE raw %] [% USE Asset %] [% USE Koha %] [% USE Branches %] [% USE KohaDates %] [% USE ColumnsSettings %] [% USE AuthorisedValues %] [% USE Price %] [% USE Branches %] [% 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") | $raw %] [% INCLUDE 'header.inc' %] [% INCLUDE 'patron-search.inc' %]
[% INCLUDE 'members-toolbar.inc' %]
[% IF ( reverse_col ) %] [% ELSE %] [% END %] [% FOREACH account IN accounts %] [% IF account.amount <= 0 %] [% IF account.amountoutstanding <= 0 %] [% END %] [% IF ( totalcredit ) %] [% ELSE %] [% END %]
Date Description of charges Home library Note Amount OutstandingActions 
[% account.date |$KohaDates %] [% INCLUDE 'accounttype.inc' accountline => account %] [%- IF account.payment_type %], [% AuthorisedValues.GetByCode('PAYMENT_TYPE', account.payment_type) | html %][% END %] [%- IF account.description %], [% account.description | html %][% END %]  [% IF ( account.itemnumber ) %][% account.item.biblio.title | html %][% END %] [% IF account.itemnumber %][% Branches.GetName( account.item.homebranch ) | html %][% END %] [% account.note | html_line_break %][% ELSE %][% END %][% account.amount | $Price %][% ELSE %][% END %][% account.amountoutstanding | $Price %] [% IF ( account.is_credit ) %] Print [% ELSE %] Print [% END %] Details [% IF ( reverse_col) %] [% IF account.is_credit %] Void [% ELSE %]   [% END %] [% END %]
Total due[% total | $Price %][% total | $Price %]
[% INCLUDE 'circ-menu.inc' %]
[% MACRO jsinclude BLOCK %] [% INCLUDE 'datatables.inc' %] [% INCLUDE 'columns_settings.inc' %] [% INCLUDE 'str/members-menu.inc' %] [% Asset.js("js/members-menu.js") | $raw %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]