From ac4617223fa5fb5bc453b38dfbe3a666d051d45b Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Wed, 2 Nov 2011 19:21:45 +0000 Subject: [PATCH] =?UTF-8?q?433:=20am=C3=A9lioration=20Compta=20Analytique?= =?UTF-8?q?=20:=20montant=20v=C3=A9rifi=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/class_anc_operation.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/class_anc_operation.php b/include/class_anc_operation.php index 2558fe59b..733c00c2d 100644 --- a/include/class_anc_operation.php +++ b/include/class_anc_operation.php @@ -511,8 +511,9 @@ class Anc_Operation } $result.=""; - $result.=" Reste à imputer ". - ''. + $style_remain=($remain==0)?'style="color:green"':' style="color:red"'; + $result.=" Reste à imputer = ". + ''. $remain.''; // add a button to add a row