mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +00:00
Fixed consume transaction journal location handling (fixes #1602)
This commit is contained in:
@@ -379,7 +379,8 @@ class StockService extends BaseService
|
||||
'opened_date' => $stockEntry->opened_date,
|
||||
'recipe_id' => $recipeId,
|
||||
'transaction_id' => $transactionId,
|
||||
'user_id' => GROCY_USER_ID
|
||||
'user_id' => GROCY_USER_ID,
|
||||
'location_id' => $stockEntry->location_id
|
||||
]);
|
||||
$logRow->save();
|
||||
|
||||
@@ -405,7 +406,8 @@ class StockService extends BaseService
|
||||
'opened_date' => $stockEntry->opened_date,
|
||||
'recipe_id' => $recipeId,
|
||||
'transaction_id' => $transactionId,
|
||||
'user_id' => GROCY_USER_ID
|
||||
'user_id' => GROCY_USER_ID,
|
||||
'location_id' => $stockEntry->location_id
|
||||
]);
|
||||
$logRow->save();
|
||||
|
||||
|
Reference in New Issue
Block a user