@extends('layout.default') @section('title', $L('Recipes')) @section('activeNav', 'recipes') @section('viewJsName', 'recipes') @section('content')

@yield('title') {{ $L('Add') }}

@foreach($recipes as $recipe) @endforeach
# {{ $L('Name') }} {{ $L('Requirements fulfilled') }}
{{ $recipe->name }} @if(FindObjectInArrayByPropertyValue($recipesSumFulfillment, 'recipe_id', $recipe->id)->need_fulfilled == 1){{ $L('Yes') }}@else{{ $L('No') }}@endif @if(FindObjectInArrayByPropertyValue($recipesSumFulfillment, 'recipe_id', $recipe->id)->need_fulfilled == 1) {{ $L('Enough in stock') }} @else {{ $L('Not enough in stock, #1 ingredients missing', FindObjectInArrayByPropertyValue($recipesSumFulfillment, 'recipe_id', $recipe->id)->missing_products_count) }} @endif
@stop