From 6f93da9b5fafad694f9adc1ccb53350ee9a573f6 Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Sun, 3 Mar 2019 14:57:36 +0100 Subject: [PATCH] Only list missing products in the "recipe put everything on the shopping list"-dialog (references #125) --- views/recipes.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/recipes.blade.php b/views/recipes.blade.php index a897d56f..0a98b829 100644 --- a/views/recipes.blade.php +++ b/views/recipes.blade.php @@ -165,7 +165,7 @@
@foreach($recipesFulfillment as $recipePos) - @if(in_array($recipePos->recipe_id, $includedRecipeIdsAbsolute)) + @if(in_array($recipePos->recipe_id, $includedRecipeIdsAbsolute) && $recipePos->missing_amount > 0)