Fixing style errors.
This commit is contained in:
parent
c7ff60866a
commit
526380a4b8
@ -972,7 +972,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
|
|||||||
print '<td>';
|
print '<td>';
|
||||||
if ($tmpproduct->status_batch) {
|
if ($tmpproduct->status_batch) {
|
||||||
$preselected = (GETPOSTISSET('batch-'.$line->id.'-'.$i) ? GETPOST('batch-'.$line->id.'-'.$i) : '');
|
$preselected = (GETPOSTISSET('batch-'.$line->id.'-'.$i) ? GETPOST('batch-'.$line->id.'-'.$i) : '');
|
||||||
print '<td>'.$formproduct->selectLotStock('', 'batch-'.$line->id.'-'.$i, '', 1, 0, $line->fk_product,'','','','','','',1).'</td>';
|
print '<td>'.$formproduct->selectLotStock('', 'batch-'.$line->id.'-'.$i, '', 1, 0, $line->fk_product, '', '', '', '', '', '', 1).'</td>';
|
||||||
//print '<input type="text" class="width50" name="batch-'.$line->id.'-'.$i.'" value="'.$preselected.'">';
|
//print '<input type="text" class="width50" name="batch-'.$line->id.'-'.$i.'" value="'.$preselected.'">';
|
||||||
}
|
}
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|||||||
@ -593,8 +593,7 @@ class FormProduct
|
|||||||
|
|
||||||
if ( $use_baseval = 1 )
|
if ( $use_baseval = 1 )
|
||||||
$out .= '<option value="'.$arraytypes['batch'].'"';
|
$out .= '<option value="'.$arraytypes['batch'].'"';
|
||||||
else
|
else $out .= '<option value="'.$id.'"';
|
||||||
$out .= '<option value="'.$id.'"';
|
|
||||||
|
|
||||||
if ($selected == $id || ($selected == 'ifone' && $nboflot == 1)) {
|
if ($selected == $id || ($selected == 'ifone' && $nboflot == 1)) {
|
||||||
$out .= ' selected';
|
$out .= ' selected';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user