diff --git a/htdocs/fourn/commande/history.php b/htdocs/fourn/commande/history.php index 636e7181b7a..8fc0efef89b 100644 --- a/htdocs/fourn/commande/history.php +++ b/htdocs/fourn/commande/history.php @@ -93,19 +93,19 @@ if ($_GET["id"] > 0) print ' '; print $commande->statuts[$commande->statut]; print ""; - - print ''.$langs->trans("Date").''; - print ''.strftime("%A %e %B %Y",$commande->date_commande)."\n"; - print ' '; - print ""; + if ($commande->methode_commande_id > 0) + { + print ''.$langs->trans("Date").''; + print ''.strftime("%A %e %B %Y",$commande->date_commande)."\n"; + print ' '; + print ""; + } print ''.$langs->trans("Author").''.$author->fullname.''; - print ''; - print " "; - - print ""; + print ' '; + print "\n"; /* * Historique