From 3b584f8f71ed2206856b0b1bf42d2972f78fcc4a Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 25 Sep 2014 09:38:25 +0200 Subject: [PATCH] Bug 12992: Fund planning should display actual values The 'show_actual' variable is not correctly manage in the template. This has certainly been introduced by the migration to TT. Test plan: 1/ Go on a bugdet planning view (admin/aqplan.pl) 2/ Check the "Show actual/estimated values" checkbox on the left (Filters box) 3/ Go 4/ Verify the actual values are now displayed (i.e. the columns contain 2 values). Signed-off-by: Chris Cormack Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt index 7f1c65d46d..b465f8ca0e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt @@ -147,7 +147,7 @@ [% END %] - [% IF ( line.show_actual ) %] + [% IF show_actual %] [% END %]
[% line.actual_amount %] @@ -167,7 +167,7 @@ - [% IF ( budget_line.show_actual ) %] + [% IF show_actual %] [% IF ( budget_line.act_negative ) %]
[% ELSIF ( budget_line.act_positive ) %] -- 2.39.5