[% IF accountline %]
[% IF type == 'credit' %]
Details for payment
[% ELSIF type == 'debit' %]
Details for fee
[% END %]
Date |
Description of charges |
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 %]
|
[% accountline.note | html_line_break %]
|
[% accountline.amount | $Price %]
|
[% accountline.amountoutstanding | $Price %]
|
[% IF type == 'credit' %]
Fees paid
[% ELSIF type == 'debit' %]
Payments
[% END %]
[% IF account_offsets %]
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 %]
[% 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 |
[% END %]
[% END %]
[% ELSE %]
No details available for this payment.
[% END %]
[% ELSE %]
[% END %]