From ac6496a95ec5df9a43c1bc652c5d920ec802e29c Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Fri, 19 Nov 2010 23:35:37 +0000 Subject: [PATCH] =?UTF-8?q?0000147:=20Pr=C3=A9vision=20->=20couleur=20r?= =?UTF-8?q?=C3=A9sultat=200000148:=20Pr=C3=A9vision=20:=20Pr=C3=A9sentatio?= =?UTF-8?q?n=20des=20montants?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/template/forecast_result.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/include/template/forecast_result.php b/include/template/forecast_result.php index 5ea8ee8dd..6f650be47 100644 --- a/include/template/forecast_result.php +++ b/include/template/forecast_result.php @@ -58,7 +58,7 @@ $tot_cat_estm=bcadd($amount,$tot_cat_estm); - + @@ -88,6 +88,10 @@ if ( ($aItem[$i][$e]['fi_debit'] == 'C' && $diff < 0) || ($aItem[$i][$e]['fi_deb { echo ''; } +else if ($diff==0) + { + echo ''; + } else { echo ''; @@ -111,6 +115,11 @@ if ( ($aItem[$i][$e]['fi_debit'] == 'C' && $cum < 0) || ($aItem[$i][$e]['fi_debi { echo ''; } +else if ($cum ==0) + { + echo ''; + } + else { echo '';