From f8230d5d0a6f20f0e054744221d5ad4b1ca467e3 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 15 Aug 2016 15:11:19 +0100 Subject: [PATCH] Bug 17100: Restore previous logic There is no need to change the previous logic here, so let's restore it. Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- .../en/modules/members/moremember-print.tt | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 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 93b59d402b..66f13d74c4 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 @@ -94,7 +94,7 @@ [% END %] [% END %] - [% IF accounts && ( totaldue < 0 || totaldue > 0 ) %] + [% IF accounts && totaldue != 0 %] @@ -105,18 +105,17 @@ [% FOREACH account IN accounts %] - [% IF ( account.amountoutstanding < 0 ) || ( account.amountoutstanding > 0 ) %] - - - - - - - [% END %] + [% NEXT IF account.amountoutstanding == 0 %] + + + + + + [% END %] -- 2.39.2
Account fines and payments
- [% IF ( account.itemnumber ) %][% END %] - [% account.description %] [% IF ( account.printtitle ) %] [% account.title |html %][% END %] - [% IF ( account.itemnumber ) %][% END %] - [% account.date | $KohaDates %][% account.amount | $Price %][% account.amountoutstanding | $Price %]
+ [% IF ( account.itemnumber ) %][% END %] + [% account.description %] [% IF ( account.printtitle ) %] [% account.title |html %][% END %] + [% IF ( account.itemnumber ) %][% END %] + [% account.date | $KohaDates %][% account.amount | $Price %][% account.amountoutstanding | $Price %]