Skip to content

Commit

Permalink
add constant DISPATCH_FORCE_QTY_INPUT
Browse files Browse the repository at this point in the history
  • Loading branch information
altairis-tof committed Nov 7, 2019
1 parent a901ce9 commit c574f59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/fourn/commande/dispatch.php
Expand Up @@ -780,7 +780,7 @@

// 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>';
Expand Down

0 comments on commit c574f59

Please sign in to comment.