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>
(cherry picked from commit 773f28ac0d)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Jonathan Druart 2013-10-28 12:15:27 +01:00 committed by Fridolin Somers
parent 373af346a7
commit 8a6ba33e6c
1 changed files with 36 additions and 5 deletions

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) %]