Update mouvementstock.class.php
return mouvement id instead simply "1", i need to store the movement id on my factory modules (to update it at the end of the build process if it's need)
This commit is contained in:
parent
60ac697813
commit
3a886dfeb4
@ -265,7 +265,7 @@ class MouvementStock
|
||||
if (! $error)
|
||||
{
|
||||
$this->db->commit();
|
||||
return 1;
|
||||
return mvid;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user