From b03a6a22a0b1229fad34335544f3b0bb9b36c42e Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 13 Apr 2011 11:52:07 -0400 Subject: [PATCH] Fix for Bug 6179, Extra column on fines in staff client Template variable scope error fixes the column error. This patch also includes a fix for the column span error in the table footer. Signed-off-by: Chris Cormack --- .../prog/en/modules/members/boraccount.tt | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt index 9f5262e07c..3545f86b25 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt @@ -48,7 +48,7 @@ [% account.note %] [% IF ( account.amountcredit ) %][% ELSE %][% END %][% account.amount %] [% IF ( account.amountoutstandingcredit ) %][% ELSE %][% END %][% account.amountoutstanding %] - [% IF ( account.reverse_col ) %] + [% IF ( reverse_col ) %] [% IF ( account.payment ) %] Reverse @@ -70,7 +70,20 @@ Total due - [% IF ( totalcredit ) %][% ELSE %][% END %][% total %] + [% IF ( totalcredit ) %] + [% IF ( reverse_col ) %] + + [% ELSE %] + + [% END %] + [% ELSE %] + [% IF ( reverse_col ) %] + + [% ELSE %] + + [% END %] + [% END %] + [% total %] -- 2.39.5