From 29b859c1194c8f4ab496be86c0c9e09385c3d49d Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 11 Apr 2005 15:33:53 +0000 Subject: [PATCH] =?UTF-8?q?N'affiche=20la=20date=20de=20commande=20que=20s?= =?UTF-8?q?i=20la=20commande=20a=20=E9t=E9=20effectu=E9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/fourn/commande/note.php | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/htdocs/fourn/commande/note.php b/htdocs/fourn/commande/note.php index 92d5138cb8f..945cccb122b 100644 --- a/htdocs/fourn/commande/note.php +++ b/htdocs/fourn/commande/note.php @@ -109,20 +109,23 @@ if ($_GET["id"] > 0) print $commande->statuts[$commande->statut]; print ""; - print ''.$langs->trans("Date").''; - print ''; - - if ($commande->date_commande) + if ($commande->methode_commande_id > 0) { - print strftime("%A %d %B %Y",$commande->date_commande)."\n"; + print ''.$langs->trans("Date").''; + print ''; + + if ($commande->date_commande) + { + print strftime("%A %d %B %Y",$commande->date_commande)."\n"; + } + + print ' '; + if ($commande->methode_commande) + { + print "Méthode : " .$commande->methode_commande; + } + print ""; } - - print ' '; - if ($commande->methode_commande) - { - print "Méthode : " .$commande->methode_commande; - } - print ""; print ''.$langs->trans("Author").''.$author->fullname.''; print ''; print " ";