@@ -, +, @@ --- .../prog/en/modules/members/moremember-print.tt | 38 ++++++++++++---------- 1 file changed, 21 insertions(+), 17 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt @@ -93,31 +93,35 @@ [% END %] [% IF accounts && totaldue != 0 %] - +
- - - - - - + + + + + + + + + [% FOREACH account IN accounts %] - - - - - + + + + + [% IF ( account.amount < 0 ) %] + [% IF ( account.amountoutstanding < 0 ) %] [% END %] - + --
Account fines and payments
Description of chargesDateAmountOutstanding
DateDescription of chargesNoteAmountOutstanding
- [% IF ( account.itemnumber ) %][% END %] - [% account.description | html %] [% IF account.itemnumber AND account.accounttype != 'F' AND account.accounttype != 'FU' %] [% account.item.biblio.title | html %][% END %] - [% IF ( account.itemnumber ) %][% END %] - [% account.date | $KohaDates %][% account.amount | $Price | html %][% account.amountoutstanding | $Price | html %]
[% account.date | $KohaDates %] + [% INCLUDE 'accounttype.inc' accountline => account %] + [%- IF account.payment_type %], [% AuthorisedValues.GetByCode('PAYMENT_TYPE', account.payment_type) | html %][% END %] + [%- IF account.description %], [% account.description | html %][% END %] +  [% IF ( account.itemnumber ) %][% account.item.biblio.title | html %][% END %][% account.note | html_line_break %][% ELSE %][% END %][% account.amount | $Price | html %][% ELSE %][% END %][% account.amountoutstanding | $Price | html %]
Total dueTotal due [% totaldue | $Price | html %]