mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
Stock detail updates (#493)
* Fix spelling * stockdetail refresh with location name * Stock updates * change stock_row_id to id * fix stockdetail refresh rows after clicking undo * fix stockdetail consume spoiled
This commit is contained in:
@@ -170,6 +170,11 @@ class StockService extends BaseService
|
||||
return $returnData;
|
||||
}
|
||||
|
||||
public function GetStockEntry($entryId)
|
||||
{
|
||||
return $this->Database->stock()->where('id', $entryId)->fetch();
|
||||
}
|
||||
|
||||
public function GetProductStockEntries($productId, $excludeOpened = false)
|
||||
{
|
||||
// In order of next use:
|
||||
|
Reference in New Issue
Block a user