-
[% IF accountline %]
[% IF type == 'credit' %]
-
Details for payment
+
Details of payment
[% ELSIF type == 'debit' %]
-
Details for fee
+
Details of fee
[% END %]
+
[% 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 %]
+
+
+
+ Date created |
+ Date updated |
+ Amount |
+ Amount outstanding |
+ Type |
+ Note |
+ Transacting librarian |
+ Date/time of change |
+ Amount of change |
+ Type of change |
+ |
+
+
- [% 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 %]
+
+ [% FOREACH ao IN account_offsets %]
+ [% IF type == 'credit' %]
+ [% SET offset_accountline = ao.debit %]
+ [% ELSIF type == 'debit' %]
+ [% SET offset_accountline = ao.credit %]
[% END %]
-
-
- [% ELSE %]
- No details available for this payment.
- [% 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 %]
-
Account line not found.
+ [% IF type == 'credit' %]
+ Payment not found
+ [% ELSIF type == 'debit' %]
+ Fee not found
+ [% END %]
[% END %]
-
-