Fixing style errors.
This commit is contained in:
parent
f42492764d
commit
080db7629f
@ -253,12 +253,12 @@ class FormProduct
|
|||||||
$comboenhancement = ajax_combobox($htmlname, $events);
|
$comboenhancement = ajax_combobox($htmlname, $events);
|
||||||
$out .= $comboenhancement;
|
$out .= $comboenhancement;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($htmlname != 'search_warehouse'){
|
if ($htmlname != 'search_warehouse'){
|
||||||
if (empty($selected) && !empty($conf->global->MAIN_DEFAULT_WAREHOUSE)) $selected = $conf->global->MAIN_DEFAULT_WAREHOUSE;
|
if (empty($selected) && !empty($conf->global->MAIN_DEFAULT_WAREHOUSE)) $selected = $conf->global->MAIN_DEFAULT_WAREHOUSE;
|
||||||
if (empty($selected) && !empty($conf->global->MAIN_DEFAULT_WAREHOUSE_USER)) $selected = $user->fk_warehouse;
|
if (empty($selected) && !empty($conf->global->MAIN_DEFAULT_WAREHOUSE_USER)) $selected = $user->fk_warehouse;
|
||||||
}
|
}
|
||||||
|
|
||||||
$out .= '<select class="flat'.($morecss ? ' '.$morecss : '').'"'.($disabled ? ' disabled' : '').' id="'.$htmlname.'" name="'.($htmlname.($disabled ? '_disabled' : '')).'">';
|
$out .= '<select class="flat'.($morecss ? ' '.$morecss : '').'"'.($disabled ? ' disabled' : '').' id="'.$htmlname.'" name="'.($htmlname.($disabled ? '_disabled' : '')).'">';
|
||||||
if ($empty) $out .= '<option value="-1">'.($empty_label ? $empty_label : ' ').'</option>';
|
if ($empty) $out .= '<option value="-1">'.($empty_label ? $empty_label : ' ').'</option>';
|
||||||
foreach ($this->cache_warehouses as $id => $arraytypes)
|
foreach ($this->cache_warehouses as $id => $arraytypes)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user