N'affiche la date de commande que si la commande a t effectue
This commit is contained in:
parent
9379dbe03c
commit
29b859c119
@ -109,20 +109,23 @@ if ($_GET["id"] > 0)
|
||||
print $commande->statuts[$commande->statut];
|
||||
print "</td></tr>";
|
||||
|
||||
print '<tr><td>'.$langs->trans("Date").'</td>';
|
||||
print '<td colspan="2">';
|
||||
|
||||
if ($commande->date_commande)
|
||||
if ($commande->methode_commande_id > 0)
|
||||
{
|
||||
print strftime("%A %d %B %Y",$commande->date_commande)."\n";
|
||||
print '<tr><td>'.$langs->trans("Date").'</td>';
|
||||
print '<td colspan="2">';
|
||||
|
||||
if ($commande->date_commande)
|
||||
{
|
||||
print strftime("%A %d %B %Y",$commande->date_commande)."\n";
|
||||
}
|
||||
|
||||
print ' </td><td width="50%">';
|
||||
if ($commande->methode_commande)
|
||||
{
|
||||
print "Méthode : " .$commande->methode_commande;
|
||||
}
|
||||
print "</td></tr>";
|
||||
}
|
||||
|
||||
print ' </td><td width="50%">';
|
||||
if ($commande->methode_commande)
|
||||
{
|
||||
print "Méthode : " .$commande->methode_commande;
|
||||
}
|
||||
print "</td></tr>";
|
||||
print '<tr><td>'.$langs->trans("Author").'</td><td colspan="2">'.$author->fullname.'</td>';
|
||||
print '<td>';
|
||||
print " </td></tr>";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user