[% 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.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 %]
Date created
Date updated
Amount
Amount outstanding
Type
Note
Transacting librarian
Date/time of change
Amount of change
Type of change
[% 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 %]