add inventory changes
This commit is contained in:
@@ -89,7 +89,6 @@ class InventoryItemForm extends Model{
|
||||
}
|
||||
|
||||
public function save(){
|
||||
if ( $this->validate()) {
|
||||
|
||||
|
||||
$this->loadLastInventory();
|
||||
@@ -128,10 +127,9 @@ class InventoryItemForm extends Model{
|
||||
$this->inventory_item = $item;
|
||||
return true;
|
||||
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
protected function loadProductIn(){
|
||||
$query = new Query();
|
||||
$query->select(['sum(procurement.count) as total_in']);
|
||||
|
||||
Reference in New Issue
Block a user