Optimized recipe missing ingredients shopping list item handling (closes #1890, closes #2134)

This commit is contained in:
Bernd Bestel
2025-01-19 21:31:36 +01:00
parent 0ff5aee6f6
commit ef9413c5c1
4 changed files with 21 additions and 16 deletions

View File

@@ -32,7 +32,6 @@ class StockService extends BaseService
$amountToAdd = round($missingProduct->amount_missing, 2);
$alreadyExistingEntry = $this->getDatabase()->shopping_list()->where('product_id', $missingProduct->id)->fetch();
if ($alreadyExistingEntry)
{
// Update