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