Ugens Menuplan |
@if(\App\MenuPlan::query()->where("week", "=", date('W'))->first() !== null)
{{-- \App\MenuPlan::query()->where("week", "=", date('W'))->first() --}}
|
{!! (\App\MenuPlan::query()->where("week", "=", date('W'))->first()->monday) !!} |
|
{!! (\App\MenuPlan::query()->where("week", "=", date('W'))->first()->tuesday) !!} |
|
{!! (\App\MenuPlan::query()->where("week", "=", date('W'))->first()->wednesday) !!} |
|
{!! (\App\MenuPlan::query()->where("week", "=", date('W'))->first()->thursday) !!} |
@else
Ingen menuplan |
@endif