diff --git a/views/recipes.blade.php b/views/recipes.blade.php index a4e11946..5cde211f 100644 --- a/views/recipes.blade.php +++ b/views/recipes.blade.php @@ -118,10 +118,12 @@ {{ $__t('Name') }} {{ $__t('Desired servings') }} - {{ $__t('Requirements fulfilled') }} + {{ $__t('Requirements fulfilled') }} Hidden status for sorting of "Requirements fulfilled" column Hidden status for filtering by status Hidden recipe ingredient product names + Hidden status for grouping by status @include('components.userfields_thead', array( 'userfields' => $userfields @@ -170,6 +172,9 @@ {{ FindObjectInArrayByPropertyValue($products, 'id', $recipePos->product_id)->name . ' ' }} @endforeach + + @if(FindObjectInArrayByPropertyValue($recipesResolved, 'recipe_id', $recipe->id)->need_fulfilled == 1) {{ $__t('Enough in stock') }} @elseif(FindObjectInArrayByPropertyValue($recipesResolved, 'recipe_id', $recipe->id)->need_fulfilled_with_shopping_list == 1) {{ $__t('Not enough in stock, but already on the shopping list') }} @else {{ $__t('Not enough in stock') }} @endif + @include('components.userfields_tbody', array( 'userfields' => $userfields,