Fix: La liste des produits etait incorrect
This commit is contained in:
parent
a299551a38
commit
fa5293adff
@ -216,7 +216,7 @@ if ($_GET["action"] == 'create')
|
||||
for ($i = 1 ; $i <= PROPALE_NEW_FORM_NB_PRODUCT ; $i++)
|
||||
{
|
||||
print '<tr><td>';
|
||||
$html->select_produits("idprod".$id);
|
||||
$html->select_produits('',"idprod".$i);
|
||||
print '</td>';
|
||||
print '<td><input type="text" size="2" name="qty'.$i.'" value="1"></td>';
|
||||
print '<td><input type="text" size="3" name="remise'.$i.'" value="'.$soc->remise_client.'"> %</td></tr>';
|
||||
|
||||
@ -314,7 +314,7 @@ if ($_GET["action"] == 'create' && $user->rights->commande->creer)
|
||||
for ($i = 1 ; $i <= $NBLINES ; $i++)
|
||||
{
|
||||
print '<tr><td>';
|
||||
print $html->select_produits('','idprod');
|
||||
print $html->select_produits('','idprod'.$i);
|
||||
print '</td>';
|
||||
print '<td><input type="text" size="3" name="qty'.$i.'" value="1"></td>';
|
||||
print '<td><input type="text" size="3" name="remise_percent'.$i.'" value="0">%</td></tr>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user