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 '';