From cdfc1c08c96a06d5fe709777374aded10ff4a7ed Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Sun, 16 Sep 2018 03:50:13 +0000 Subject: [PATCH] Bug 20656: (follow-up) Don't display title for F or FU fines (it is in description) Signed-off-by: Josef Moravec Signed-off-by: Nick Clemens --- .../en/modules/members/moremember-print.tt | 35 +++++++++++++++---- 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt index 089a6e59ab..1000adfdd0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt @@ -109,13 +109,34 @@ [% 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 %] - [% IF ( account.amount < 0 ) %][% ELSE %][% END %][% account.amount | $Price | html %] - [% IF ( account.amountoutstanding < 0 ) %][% ELSE %][% END %][% account.amountoutstanding | $Price | html %] + [% 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 AND account.accounttype != 'F' AND account.accounttype != 'FU' ) %] + [% account.item.biblio.title | html %] + [% END %] + + + [% account.note | html_line_break %] + + [% IF ( account.amount < 0 ) %] + + [% ELSE %] + + [% END %][% account.amount | $Price | html %] + + [% IF ( account.amountoutstanding < 0 ) %] + + [% ELSE %] + + [% END %] + [% account.amountoutstanding | $Price | html %] + [% END %] -- 2.39.5