mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
Unified edited stock transactions handling (fixes #2292)
This commit is contained in:
@@ -838,7 +838,7 @@ class StockService extends BaseService
|
||||
$returnData = [];
|
||||
$shoppingLocations = $this->getDatabase()->shopping_locations();
|
||||
|
||||
$rows = $this->getDatabase()->product_price_history()->where('product_id = :1', $productId)->orderBy('purchased_date', 'DESC');
|
||||
$rows = $this->getDatabase()->products_price_history()->where('product_id = :1', $productId)->orderBy('purchased_date', 'DESC');
|
||||
foreach ($rows as $row)
|
||||
{
|
||||
$returnData[] = [
|
||||
|
Reference in New Issue
Block a user