mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
Squashed commit
Fixed recipe ingredient costs/calories calculation when having different QUs and when only_check_single_unit_in_stock is set (fixes #2529) Added a new column "Product picture" on /products (closes #2640) Fixed partly opening stock entries stock_id handling (fixes #2391)
This commit is contained in:
@@ -1069,7 +1069,7 @@ class StockService extends BaseService
|
||||
'purchased_date' => $stockEntry->purchased_date,
|
||||
'location_id' => $stockEntry->location_id,
|
||||
'shopping_location_id' => $stockEntry->shopping_location_id,
|
||||
'stock_id' => $stockEntry->stock_id,
|
||||
'stock_id' => uniqid(),
|
||||
'price' => $stockEntry->price,
|
||||
'note' => $stockEntry->note
|
||||
]);
|
||||
|
Reference in New Issue
Block a user