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 <chris@bigballofwax.co.nz> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
13fda83783
commit
3b584f8f71
1 changed files with 2 additions and 2 deletions
|
@ -147,7 +147,7 @@
|
||||||
[% END %]
|
[% END %]
|
||||||
<table class="invis">
|
<table class="invis">
|
||||||
<tr>
|
<tr>
|
||||||
[% IF ( line.show_actual ) %]
|
[% IF show_actual %]
|
||||||
<td >[% line.actual_amount %]</td>
|
<td >[% line.actual_amount %]</td>
|
||||||
[% END %]
|
[% END %]
|
||||||
<td>
|
<td>
|
||||||
|
@ -167,7 +167,7 @@
|
||||||
<td>
|
<td>
|
||||||
<table class="invis">
|
<table class="invis">
|
||||||
<tr>
|
<tr>
|
||||||
[% IF ( budget_line.show_actual ) %]
|
[% IF show_actual %]
|
||||||
[% IF ( budget_line.act_negative ) %]
|
[% IF ( budget_line.act_negative ) %]
|
||||||
<td style="color: red;">
|
<td style="color: red;">
|
||||||
[% ELSIF ( budget_line.act_positive ) %]
|
[% ELSIF ( budget_line.act_positive ) %]
|
||||||
|
|
Loading…
Reference in a new issue