From 773f28ac0d81ce9544fe8052da117e5b0c1da4c7 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 28 Oct 2013 12:15:27 +0100 Subject: [PATCH] Bug 7308: (follow-up) change color style for fund child Signed-off-by: Kyle M Hall Signed-off-by: Galen Charlton --- .../prog/en/modules/admin/aqbudgets.tt | 41 ++++++++++++++++--- 1 file changed, 36 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt index 93c1165b98..1a88548452 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt @@ -276,11 +276,42 @@ var MSG_PARENT_BENEATH_BUDGET = "- " + _("New budget-parent is beneath budget") [% budge.budget_code_indent %] [% budge.budget_name %] - [% budge.budget_amount %] - [% budge.budget_ordered %] - [% budge.total_ordered %] - [% budge.budget_spent %] - [% budge.total_spent %] + + [% IF budge.budget_parent_id %] + [% budge.budget_amount %] + [% ELSE %] + [% budge.budget_amount %] + [% END %] + + + [% IF budge.budget_parent_id %] + [% budge.budget_ordered %] + [% ELSE %] + [% budge.budget_ordered %] + [% END %] + + + [% IF budge.budget_parent_id %] + [% budge.total_ordered %] + [% ELSE %] + [% budge.total_ordered %] + [% END %] + + + [% IF budge.budget_parent_id %] + [% budge.budget_spent %] + [% ELSE %] + [% budge.budget_spent %] + [% END %] + + + [% IF budge.budget_parent_id %] + [% budge.total_spent %] + [% ELSE %] + [% budge.total_spent %] + [% END %] + + [% BLOCK colorcellvalue %] [% IF (value > 0) %] -- 2.39.5