Fixing style errors.
This commit is contained in:
parent
a80c30bc45
commit
d29aa636a5
@ -474,14 +474,14 @@ class StockTransferLine extends CommonObjectLine
|
|||||||
$this->fk_stocktransfer
|
$this->fk_stocktransfer
|
||||||
);*/
|
);*/
|
||||||
|
|
||||||
$result = $movementstock->_create($user
|
$result = $movementstock->_create($user,
|
||||||
, $p->id
|
$p->id,
|
||||||
, $fk_entrepot
|
$fk_entrepot,
|
||||||
, $op[$direction]
|
$op[$direction],
|
||||||
, $direction
|
$direction,
|
||||||
, empty($direction) ? $this->pmp : 0
|
empty($direction) ? $this->pmp : 0,
|
||||||
, $label
|
$label,
|
||||||
, $code_inv);
|
$code_inv);
|
||||||
|
|
||||||
if ($result < 0) {
|
if ($result < 0) {
|
||||||
setEventMessages($p->errors, $p->errorss, 'errors');
|
setEventMessages($p->errors, $p->errorss, 'errors');
|
||||||
@ -513,18 +513,18 @@ class StockTransferLine extends CommonObjectLine
|
|||||||
GETPOST("codemove")
|
GETPOST("codemove")
|
||||||
);*/
|
);*/
|
||||||
|
|
||||||
$result = $movementstock->_create($user
|
$result = $movementstock->_create($user,
|
||||||
, $p->id
|
$p->id,
|
||||||
, $fk_entrepot
|
$fk_entrepot,
|
||||||
, $op[$direction]
|
$op[$direction],
|
||||||
, $direction
|
$direction,
|
||||||
, empty($direction) ? $this->pmp : 0
|
empty($direction) ? $this->pmp : 0,
|
||||||
, $label
|
$label,
|
||||||
, $code_inv
|
$code_inv,
|
||||||
, ''
|
'',
|
||||||
, $dlc
|
$dlc,
|
||||||
, $dluo
|
$dluo,
|
||||||
, $this->batch);
|
$this->batch);
|
||||||
|
|
||||||
if ($result < 0) {
|
if ($result < 0) {
|
||||||
setEventMessages($p->errors, $p->errorss, 'errors');
|
setEventMessages($p->errors, $p->errorss, 'errors');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user