From 346d06609fc40234e74d2e52c56d28baf1244143 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 --- .../prog/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 93b59d4..66f13d7 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.8.1
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 %]