Works on product canvas and templates

This commit is contained in:
Regis Houssin 2010-05-03 05:51:48 +00:00
parent 244d85a4fe
commit e0ef7c94b6

View File

@ -940,12 +940,11 @@ if ($product->id && $_GET["action"] == '' && $product->status)
print '</tr>'; print '</tr>';
} }
$commande = New Commande($db);
// Commande // Commande
if($conf->commande->enabled && $user->rights->commande->creer) if($conf->commande->enabled && $user->rights->commande->creer)
{ {
$commande = New Commande($db);
$langs->load("orders"); $langs->load("orders");
print '<tr class="liste_titre"><td width="50%" valign="top" class="liste_titre">'; print '<tr class="liste_titre"><td width="50%" valign="top" class="liste_titre">';