Merge pull request #12379 from altatof/dispatch_force_qty_input
NEW : add constant DISPATCH_FORCE_QTY_INPUT
This commit is contained in:
commit
28b10e4610
@ -780,7 +780,7 @@ if ($id > 0 || ! empty($ref)) {
|
||||
|
||||
// Qty to dispatch
|
||||
print '<td class="right">';
|
||||
print '<input id="qty' . $suffix . '" name="qty' . $suffix . '" type="text" class="width50 right" value="' . (GETPOST('qty' . $suffix) != '' ? GETPOST('qty' . $suffix) : $remaintodispatch) . '">';
|
||||
print '<input id="qty' . $suffix . '" name="qty' . $suffix . '" type="text" class="width50 right" value="' . (GETPOSTISSET('qty' . $suffix) ? GETPOST('qty' . $suffix, 'int') : (empty($conf->global->SUPPLIER_ORDER_DISPATCH_FORCE_QTY_INPUT_TO_ZERO) ? $remaintodispatch : 0)) .'">';
|
||||
print '</td>';
|
||||
|
||||
print '<td>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user