This commit is contained in:
Rodolphe Quiedeville 2005-04-04 16:05:50 +00:00
parent a691bbf359
commit de76743536

View File

@ -435,7 +435,7 @@ if ($_GET["id"] > 0)
*/ */
if ($commande->statut == 0 && $user->rights->fournisseur->commande->creer) if ($commande->statut == 0 && $user->rights->fournisseur->commande->creer)
{ {
$sql = "SELECT p.rowid,p.label,p.ref,p.price "; $sql = "SELECT p.rowid,p.label,p.ref ";
$sql .=" , pf.price"; $sql .=" , pf.price";
$sql .= " FROM ".MAIN_DB_PREFIX."product as p "; $sql .= " FROM ".MAIN_DB_PREFIX."product as p ";
$sql .= " , ".MAIN_DB_PREFIX."product_fournisseur_price as pf "; $sql .= " , ".MAIN_DB_PREFIX."product_fournisseur_price as pf ";
@ -462,7 +462,7 @@ if ($_GET["id"] > 0)
print $db->error(); print $db->error();
} }
print "<form action=\"fiche.php?id=$commande->id\" method=\"post\">"; print '<form action="fiche.php?id='.$commande->id.'" method="post">';
print '<input type="hidden" name="action" value="addligne">'; print '<input type="hidden" name="action" value="addligne">';
print "<tr class=\"liste_titre\">"; print "<tr class=\"liste_titre\">";