fixed build.api.module.machineDefault (added argument id_warehouse to machine.state (in view machine.listAll))
This commit is contained in:
parent
1f91f4feb1
commit
2709a109c7
|
@ -383,7 +383,7 @@
|
||||||
/* [3] Get history for the machine
|
/* [3] Get history for the machine
|
||||||
=========================================================*/
|
=========================================================*/
|
||||||
/* (1) Write request */
|
/* (1) Write request */
|
||||||
$history_req = new Repo('history/getByIdMachine', [$id_machine]);
|
$history_req = new Repo('history/getByIdMachine', [$_SESSION['WAREHOUSE']['id'], $id_machine]);
|
||||||
|
|
||||||
/* (2) Manage error */
|
/* (2) Manage error */
|
||||||
if( $history_req->error->get() != Err::Success )
|
if( $history_req->error->get() != Err::Success )
|
||||||
|
|
Loading…
Reference in New Issue