From 66e560b6192042c1a5c76e982cf206df4a047a60 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 8 Jun 2006 13:04:07 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20l'alerte=20=E9tait=20aussi=20affich=E9e?= =?UTF-8?q?=20lorsque=20la=20facture=20=E9tait=20pay=E9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/fourn/facture/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/fourn/facture/index.php b/htdocs/fourn/facture/index.php index 74b5d51a0e1..4314e112a07 100644 --- a/htdocs/fourn/facture/index.php +++ b/htdocs/fourn/facture/index.php @@ -195,7 +195,7 @@ if ($resql) print ""; print ''.img_object($langs->trans("ShowBill"),"bill").' '.dolibarr_trunc($obj->facnumber,12)."\n"; print ''.dolibarr_print_date($obj->date_echeance); - if (($obj->fk_statut > 0) && $obj->datefin < (time() - $conf->facture->client->warning_delay)) print img_picto($langs->trans("Late"),"warning"); + if (($obj->paye == 0) && ($obj->fk_statut > 0) && $obj->datefin < (time() - $conf->facture->client->warning_delay)) print img_picto($langs->trans("Late"),"warning"); print ''; print ''.dolibarr_trunc(stripslashes("$obj->libelle"),36).''; print '';