diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/accountline-details.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/accountline-details.tt index 4890fd27e9..55385bd360 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/accountline-details.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/accountline-details.tt @@ -81,159 +81,164 @@
| Date | -Description | -Barcode | -Due date | -Return date | -Note | - [% FOREACH value IN af_values %] -[% value.field.name | html %] | - [% END %] -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 %]
+
| + [% IF ( accountline.issue_id ) %] + [% accountline.checkout.date_due | $KohaDates as_due_date => 1 %] + [% END %] + | -||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Date | -Change | -Action | -Related transaction | -||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Increase | -Decrease | -Type | -Amount | -Librarian | -Note | -+ [% IF ( accountline.issue_id ) %] + [% accountline.checkout.returndate | $KohaDates with_hours => 1 %] + [% END %] + | - - [% FOREACH ao IN account_offsets %] - [% IF ao.credit_id == accountline.accountlines_id %] - [% SET offset_accountline = ao.debit %] - [% ELSIF ao.debit_id == accountline.accountlines_id %] - [% SET offset_accountline = ao.credit %] - [% END %] ++ [% accountline.note | html_line_break %] + | - [%- BLOCK ao_description -%] - [%- SWITCH ao.type -%] - [%- CASE 'CREATE' -%]Created - [%- CASE 'OVERDUE_INCREASE' -%]Increase - [%- CASE 'OVERDUE_DECREASE' -%]Decrease - [%- CASE 'APPLY' -%]Applied - [%- CASE 'VOID' -%]Reversed - [%- END -%] - [%- END -%] - -||||
| [% ao.created_on | $KohaDates with_hours => 1%] | -[%- IF ao.amount > 0 -%][% ao.amount | $Price %][% END %] | -[%- IF ao.amount < 0 -%][% ao.amount | $Price %][% END %] | + [% FOREACH value IN af_values %]- [% PROCESS ao_description ao=ao %] - | - [%- IF offset_accountline -%] -- [% PROCESS account_type_description account=offset_accountline %] ([% offset_accountline.id | html %]) - | -- [% offset_accountline.amount | $Price %] - | -- [% IF offset_accountline.manager_id %] - - [% IF offset_accountline.manager.firstname %] - [% offset_accountline.manager.firstname | html %] [% offest_accountline.manager.surname | html %] - [% ELSE %] - [% offset_accountline.manager.surname | html %] - [% END %] - + [% IF value.field.authorised_value_category %] + [% AuthorisedValues.GetByCode( value.field.authorised_value_category, value.value ) | html %] + [% ELSE %] + [% value.value | html %] [% END %] | - [%- ELSE -%] -- | - | + [% END %] + + | + [% accountline.amount | $Price %] + | + ++ [% accountline.amountoutstanding | $Price %] + | +
| Date | +Change | +Action | +Related transaction | +||||
|---|---|---|---|---|---|---|---|
| Increase | +Decrease | +Type | +Amount | +Librarian | +Note | +[% offset_accountline.note | html %] | - - [% END %] - -|