From a94276873815a72e33e8b3a29fa7644b70e67de7 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 17 May 2006 19:17:26 +0000 Subject: [PATCH] Ajout picto retard sur commandes --- htdocs/commande/liste.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/htdocs/commande/liste.php b/htdocs/commande/liste.php index 948a207ff35..c4b18f6ebc4 100644 --- a/htdocs/commande/liste.php +++ b/htdocs/commande/liste.php @@ -175,7 +175,9 @@ if ($resql) print ' '; print strftime('%B',$objp->date_commande).''; print ' '; - print strftime('%Y',$objp->date_commande).''; + print strftime('%Y',$objp->date_commande).''; + if (($objp->fk_statut > 0) && ($objp->fk_statut < 3) && $objp->date_commande < (time() - $conf->commande->warning_delay)) print img_picto($langs->trans("Late"),"warning"); + print ''; print ''.$generic_commande->LibStatut($objp->fk_statut,5).''; print ''; $total = $total + $objp->price;