From c3ced5d89320f85774d945957b2b4e68d0336016 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 21 Jun 2019 16:20:28 +0000 Subject: [PATCH] Bug 23115: (QA follow-up) Address QA tools complaints Signed-off-by: Martin Renvoize --- koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc index 4058d5576c..7dbf9ad18e 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc @@ -16,7 +16,7 @@ [% FOREACH ACCOUNT_LINE IN ACCOUNT_LINES %] - 0 || ACCOUNT_LINE.amountoutstanding < 0 %]class="outstanding"[% END%]> + [% IF ACCOUNT_LINE.amountoutstanding > 0 || ACCOUNT_LINE.amountoutstanding < 0 %][% ELSE %][% END%] [% IF ENABLE_OPAC_PAYMENTS %] [% IF ACCOUNT_LINE.amountoutstanding > 0 %] @@ -54,7 +54,7 @@ [% IF outstanding_credits.total_outstanding < 0 %] [% FOREACH outstanding_credit IN outstanding_credits %] - + [% IF outstanding_credit.amountoutstanding < 0 %][% ELSE %][% END%] [% IF ENABLE_OPAC_PAYMENTS %][% END %] [% outstanding_credit.date | $KohaDates %] -- 2.39.5