@extends("app.layout.base") @section("title") Menuplan @endsection @section("content")
@if($menuPlans->contains('week', $Week)) {{-- If any of the menues in the menu table has the number of the week in the 'week' column, do this --}} @foreach($menuPlans as $menuplan) @if($menuplan->week == $Week)

{{ __('msg.menuplan') }}

{{ __('msg.ugestor') }}: {{$menuplan->week}}
{!! $menuplan->menu !!}
@endif @endforeach @else

{{ __('msg.menuplan') }}

{{__('msg.dereringenmenuplanerdenneuge')}}!

@endif
{{ $menuPlans->links() }} @endsection