Update dispatch.php
Only without batch module enabled
This commit is contained in:
parent
14e68ea8f9
commit
1fb6f79727
@ -237,7 +237,7 @@ if ($action == 'dispatch' && $user->rights->fournisseur->commande->receptionner)
|
|||||||
$fk_commandefourndet = "fk_commandefourndet_" . $reg[1] . '_' . $reg[2];
|
$fk_commandefourndet = "fk_commandefourndet_" . $reg[1] . '_' . $reg[2];
|
||||||
|
|
||||||
// We ask to move a qty
|
// We ask to move a qty
|
||||||
if (GETPOST($qty) > 0) {
|
if (GETPOST($qty) != 0) {
|
||||||
if (! (GETPOST($ent, 'int') > 0)) {
|
if (! (GETPOST($ent, 'int') > 0)) {
|
||||||
dol_syslog('No dispatch for line ' . $key . ' as no warehouse choosed');
|
dol_syslog('No dispatch for line ' . $key . ' as no warehouse choosed');
|
||||||
$text = $langs->transnoentities('Warehouse') . ', ' . $langs->transnoentities('Line') . ' ' . ($numline);
|
$text = $langs->transnoentities('Warehouse') . ', ' . $langs->transnoentities('Line') . ' ' . ($numline);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user