@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') }}

@if(request()->cookie("mode") !== "dark") {{ __('msg.ugestor') }}: {{$menuplan->week}} @else {{ __('msg.ugestor') }}: {{$menuplan->week}} @endif
{!! $menuplan->menu !!}
@endif @endforeach @else

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

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

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