From e64822a46ce12e735449bb17d794b85a7de5b974 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 17 May 2006 19:01:13 +0000 Subject: [PATCH] Ajout picto retard sur facture fournisseur en retard --- htdocs/fourn/facture/index.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/htdocs/fourn/facture/index.php b/htdocs/fourn/facture/index.php index 5074f5664aa..a350781c67b 100644 --- a/htdocs/fourn/facture/index.php +++ b/htdocs/fourn/facture/index.php @@ -202,7 +202,9 @@ if ($resql) print ""; print ''.img_object($langs->trans("ShowBill"),"bill").' '.dolibarr_trunc($obj->facnumber,12)."\n"; - print ''.dolibarr_print_date($obj->date_echeance).''; + print ''.dolibarr_print_date($obj->date_echeance); + if ($obj->datefin < (time() - $conf->facture->client->warning_delay)) print img_picto($langs->trans("Late"),"warning"); + print ''; print ''.dolibarr_trunc(stripslashes("$obj->libelle"),36).''; print ''; print ''.img_object($langs->trans("ShowSupplier"),"company").' '.$obj->nom.'';