Bug 7308: (follow-up) change color style for fund child

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
Jonathan Druart 2013-10-28 12:15:27 +01:00 committed by Galen Charlton
parent 3c54feb1b3
commit 773f28ac0d

View file

@ -276,11 +276,42 @@ var MSG_PARENT_BENEATH_BUDGET = "- " + _("New budget-parent is beneath budget")
<td>[% budge.budget_code_indent %]</td>
<td>[% budge.budget_name %]</td>
<td class="data">[% budge.budget_amount %] </td>
<td class="data">[% budge.budget_ordered %]</td>
<td class="data">[% budge.total_ordered %]</td>
<td class="data">[% budge.budget_spent %] </td>
<td class="data">[% budge.total_spent %]</td>
<td class="data">
[% IF budge.budget_parent_id %]
<span style="color:grey">[% budge.budget_amount %]</span>
[% ELSE %]
[% budge.budget_amount %]
[% END %]
</td>
<td class="data">
[% IF budge.budget_parent_id %]
<span style="color:grey">[% budge.budget_ordered %]</span>
[% ELSE %]
[% budge.budget_ordered %]
[% END %]
</td>
<td class="data">
[% IF budge.budget_parent_id %]
<span style="color:grey">[% budge.total_ordered %]</span>
[% ELSE %]
[% budge.total_ordered %]
[% END %]
</td>
<td class="data">
[% IF budge.budget_parent_id %]
<span style="color:grey">[% budge.budget_spent %]</span>
[% ELSE %]
[% budge.budget_spent %]
[% END %]
</td>
<td class="data">
[% IF budge.budget_parent_id %]
<span style="color:grey">[% budge.total_spent %]</span>
[% ELSE %]
[% budge.total_spent %]
[% END %]
</td>
[% BLOCK colorcellvalue %]
[% IF (value > 0) %]