diff --git a/htdocs/fourn/commande/fiche.php b/htdocs/fourn/commande/fiche.php index 7631c3af28b..b6b9dd629f8 100644 --- a/htdocs/fourn/commande/fiche.php +++ b/htdocs/fourn/commande/fiche.php @@ -312,21 +312,24 @@ if ($_GET["id"] > 0) print ' '; print $commande->statuts[$commande->statut]; print ""; - - 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; + if ($commande->methode_commande_id > 0) + { + print ''.$langs->trans("Date").''; + + 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 ""; + print ''.$langs->trans("Author").''.$author->fullname.''; print ''; print " ";