From b9179a22c3449806e0e2e1856870e0bed80f882a 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 --- 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 d5d8906..67c24c1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt @@ -146,7 +146,7 @@ [% END %] - [% IF ( line.show_actual ) %] + [% IF show_actual %] [% END %]
[% line.actual_amount %] @@ -166,7 +166,7 @@ - [% IF ( budget_line.show_actual ) %] + [% IF show_actual %] [% IF ( budget_line.act_negative ) %]
[% ELSIF ( budget_line.act_positive ) %] -- 1.9.1