@extends("admin.layout.base") @extends("admin.layout.header") @section("title") Dashboard - Admin Panel @endsection @section("path") Dashboard / @endsection @section("content")
Nyeste brugere |
---|
{{ ucfirst(strtolower(\App\User::query()->orderByDesc("id")->get()[$i]->name_first)) . ' ' . ucfirst(strtolower(\App\User::query()->orderByDesc("id")->get()[$i]->name_last)) }} |
Næste aktivitet |
---|
Der er ingen aktiviteter |
{{ \App\Event::query()->orderBy("date", "asc")->first()->name }} | |
Af: {{ \App\Event::query()->orderBy("date", "asc")->first()->accountable }} | |
{{ \Illuminate\Support\Facades\Date::createFromTimeStamp(strtotime(\App\Event::query()->orderBy("date", "asc")->first()->date))->format('d/m/Y \k\l\. H:i') }} |
{!! \App\Helpers::closetags(substr(\App\Event::query()->orderBy("date", "asc")->first()->description, 0, 300) )!!} |
Seneste Vejledninger |
---|
{{ ucfirst(strtolower(\App\Guide::query()->orderByDesc("id")->get()[$i]->name)) }} |
Der er ingen vejledninger |
Ugens Menuplan | |
---|---|
{{ \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
Der er ingen menuplan for denne uge |