[% USE raw %] [% USE Asset %] [%- USE Price -%] [%- USE KohaDates -%] [%- USE AuthorisedValues -%] [%- USE Branches -%] [% SET footerjs = 1 %] [% PROCESS 'accounts.inc' %] [% INCLUDE 'doc-head-open.inc' %] Koha › Patrons › [% INCLUDE 'patron-title.inc' no_html = 1 %] › Details of fee [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'patron-search.inc' %]
[% INCLUDE 'members-toolbar.inc' borrowernumber=patron.borrowernumber %] [% IF accountline %] [% IF type == 'credit' %]

Details of payment

[% ELSIF type == 'debit' %]

Details of fee

[% END %]
Date Description of charges Barcode Due date Return date Note Amount Outstanding
[% accountline.date |$KohaDates %] [%- PROCESS account_type_description account=accountline -%] [%- IF accountline.payment_type -%] , [% AuthorisedValues.GetByCode('PAYMENT_TYPE', accountline.payment_type) | html %] [%- END =%] [%- IF accountline.description -%] , [% accountline.description | html %] [%- END -%]   [% IF ( accountline.itemnumber ) %] [% SET biblio = accountline.item.biblio %] [% biblio.title | html %] [% END %] [% IF ( accountline.itemnumber ) %] [% accountline.item.barcode | html %] [% END %] [% IF ( accountline.issue_id ) %] [% accountline.checkout.date_due | $KohaDates as_due_date => 1 %] [% END %] [% IF ( accountline.issue_id ) %] [% accountline.checkout.returndate | $KohaDates with_hours => 1 %] [% END %] [% accountline.note | html_line_break %] [% accountline.amount | $Price %] [% accountline.amountoutstanding | $Price %]
[% IF type == 'credit' %]

Fees paid

[% ELSIF type == 'debit' %]

Payments

[% END %] [% FOREACH ao IN account_offsets %] [% IF type == 'credit' %] [% SET offset_accountline = ao.debit %] [% ELSIF type == 'debit' %] [% SET offset_accountline = ao.credit %] [% END %] [% IF offset_accountline %] [% END %] [% END %]
Date created Date updated Amount Amount outstanding Type Note Transacting librarian Date/time of change Amount of change Type of change  
[% offset_accountline.date | $KohaDates %] [% offset_accountline.timestamp | $KohaDates with_hours => 1 %] [% offset_accountline.amount | $Price %] [% offset_accountline.amountoutstanding | $Price %] [% PROCESS account_type_description account=offset_accountline %] [% offset_accountline.note | html %] [% IF offset_accountline.manager_id %][% offset_accountline.manager_id | html %][% END %] [% ao.created_on | $KohaDates with_hours => 1 %] [% ao.amount | $Price %] [% PROCESS offset_type_description account_offset=ao %] Details
[% ELSE %]
[% IF type == 'credit' %] Payment not found [% ELSIF type == 'debit' %] Fee not found [% END %]
[% END %]
[% MACRO jsinclude BLOCK %] [% INCLUDE 'str/members-menu.inc' %] [% Asset.js("js/members-menu.js") | $raw %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]