Update dispatch.php

This commit is contained in:
Laurent Destailleur 2019-11-08 11:38:08 +01:00 committed by GitHub
parent c574f5990f
commit 52e90a8d91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) : ( ! empty($conf->global->DISPATCH_FORCE_QTY_INPUT) ? 0 : $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>';