|
@@ -75,7 +75,7 @@ if ($object->element == 'product') {
|
|
|
print img_picto('', 'stock');
|
|
|
$selected = (GETPOST("dwid") ?GETPOST("dwid", 'int') : (GETPOST('id_entrepot') ?GETPOST('id_entrepot', 'int') : ($object->element == 'product' && $object->fk_default_warehouse ? $object->fk_default_warehouse : 'ifone')));
|
|
|
$warehousestatus = 'warehouseopen,warehouseinternal';
|
|
|
- print $formproduct->selectWarehouses($selected, 'id_entrepot', $warehousestatus, 1);
|
|
|
+ print $formproduct->selectWarehouses($selected, 'id_entrepot', $warehousestatus, 1, 0, 0, '', 0, 0, array(), 'minwidth75 maxwidth300 widthcentpercentminusx');
|
|
|
print '</td>';
|
|
|
}
|
|
|
if ($object->element == 'stock') {
|
|
@@ -87,7 +87,7 @@ if ($object->element == 'stock') {
|
|
|
}
|
|
|
|
|
|
print '<td class="fieldrequired">'.$langs->trans("WarehouseTarget").'</td><td>';
|
|
|
-print img_picto('', 'stock').$formproduct->selectWarehouses(GETPOST('id_entrepot_destination'), 'id_entrepot_destination', 'warehouseopen,warehouseinternal', 1);
|
|
|
+print img_picto('', 'stock').$formproduct->selectWarehouses(GETPOST('id_entrepot_destination'), 'id_entrepot_destination', 'warehouseopen,warehouseinternal', 1, 0, 0, '', 0, 0, array(), 'minwidth75 maxwidth300 widthcentpercentminusx');
|
|
|
print '</td></tr>';
|
|
|
print '<tr><td class="fieldrequired">'.$langs->trans("NumberOfUnit").'</td><td colspan="3"><input type="text" name="nbpiece" class="center maxwidth75" value="'.dol_escape_htmltag(GETPOST("nbpiece")).'"></td>';
|
|
|
print '</tr>';
|
|
@@ -104,7 +104,7 @@ if (!empty($conf->productbatch->enabled) &&
|
|
|
print '<input type="text" name="batch_number_bis" size="40" disabled="disabled" value="'.(GETPOST('batch_number') ?GETPOST('batch_number') : $pdluo->batch).'">';
|
|
|
print '<input type="hidden" name="batch_number" value="'.(GETPOST('batch_number') ?GETPOST('batch_number') : $pdluo->batch).'">';
|
|
|
} else {
|
|
|
- print '<input type="text" name="batch_number" size="40" value="'.(GETPOST('batch_number') ?GETPOST('batch_number') : $pdluo->batch).'">';
|
|
|
+ print '<input type="text" name="batch_number" class="minwidth300" value="'.(GETPOST('batch_number') ? GETPOST('batch_number') : $pdluo->batch).'">';
|
|
|
}
|
|
|
print '</td>';
|
|
|
print '</tr>';
|
|
@@ -128,7 +128,7 @@ $valformovementlabel = (GETPOST("label") ? GETPOST("label") : $langs->trans("Mov
|
|
|
print '<tr>';
|
|
|
print '<td>'.$langs->trans("MovementLabel").'</td>';
|
|
|
print '<td>';
|
|
|
-print '<input type="text" name="label" class="minwidth300" value="'.$valformovementlabel.'">';
|
|
|
+print '<input type="text" name="label" class="minwidth300" value="'.dol_escape_htmltag($valformovementlabel).'">';
|
|
|
print '</td>';
|
|
|
print '<td>'.$langs->trans("InventoryCode").'</td>';
|
|
|
print '<td>';
|