@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

{{__('msg.mandag')}}:

{{$menuplan->monday}}

{{__('msg.tirsdag')}}:

{{$menuplan->tuesday}}

{{__('msg.onsdag')}}:

{{$menuplan->wednesday}}

{{__('msg.torsdag')}}:

{{$menuplan->thursday}}

@endif @endforeach @else

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

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

@endif
@endsection