From 7e3f7dc7d065b4c5862001b55d157ed4a9ef4976 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) --- .../prog/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 242945a..657782a 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.1.4