@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
{!! '

Mandag:

'. '

'.$menuplan->monday.'

'. '

Tirsdag:

'. '

'.$menuplan->tuesday.'

'. '

Onsdag:

'. '

'.$menuplan->wednesday.'

'. '

Torsdag:

'. '

'.$menuplan->thursday.'

' !!}
@endif @endforeach @else

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

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

@endif
@endsection