*** empty log message ***
This commit is contained in:
parent
09fcc0d77a
commit
4b08ad045d
@ -377,17 +377,20 @@ if ($id || $ref)
|
|||||||
while ($i < $num)
|
while ($i < $num)
|
||||||
{
|
{
|
||||||
$objp = $db->fetch_object($resql);
|
$objp = $db->fetch_object($resql);
|
||||||
print "\n<tr>";
|
if($objp->rowid != $id)
|
||||||
print '<td>'.$objp->ref.'</td>';
|
{
|
||||||
print '<td>'.$objp->label.'</td>';
|
print "\n<tr>";
|
||||||
if($product->is_sousproduit($id, $objp->rowid))
|
print '<td>'.$objp->ref.'</td>';
|
||||||
$addchecked = ' checked="true"';
|
print '<td>'.$objp->label.'</td>';
|
||||||
else
|
if($product->is_sousproduit($id, $objp->rowid))
|
||||||
$addchecked = '';
|
$addchecked = ' checked="true"';
|
||||||
print '<td align="center"><input type="hidden" name="prod_id_'.$i.'" value="'.$objp->rowid.'"><input type="checkbox" '.$addchecked.'name="prod_id_chk'.$i.'" value="'.$objp->rowid.'"></td>';
|
else
|
||||||
print '<td align="center"><input type="text" size="3" name="prod_qty_'.$i.'" value="1"></td>';
|
$addchecked = '';
|
||||||
print '</td>';
|
print '<td align="center"><input type="hidden" name="prod_id_'.$i.'" value="'.$objp->rowid.'"><input type="checkbox" '.$addchecked.'name="prod_id_chk'.$i.'" value="'.$objp->rowid.'"></td>';
|
||||||
print '</tr>';
|
print '<td align="center"><input type="text" size="3" name="prod_qty_'.$i.'" value="1"></td>';
|
||||||
|
print '</td>';
|
||||||
|
print '</tr>';
|
||||||
|
}
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user