add constant DISPATCH_FORCE_QTY_INPUT
This commit is contained in:
parent
a901ce932d
commit
c574f5990f
@ -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="' . (GETPOST('qty' . $suffix) != '' ? GETPOST('qty' . $suffix) : ( ! empty($conf->global->DISPATCH_FORCE_QTY_INPUT) ? 0 : $remaintodispatch) ) .'">';
|
||||
print '</td>';
|
||||
|
||||
print '<td>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user