@extends("admin.layout.base") @extends("admin.layout.header") @section("title") Aktiviteter - Vis @endsection @section("path") Vis Aktiviteter / @endsection @section("content")
Aktivitet Navn | Aktivitet Ansvarlig | Aktivitet Dato | @if(auth()->user()->can('event.edit')) | @endif @if(auth()->user()->can('event.delete')) | @endif @foreach($events as $event) @if (date('Y-m-d H:i', strtotime('-1 day')) < date('Y-m-d H:i', strtotime($event->date))) |
---|---|---|---|---|---|
{{ $event->name }} | {{ $event->accountable }} | {{ \Illuminate\Support\Facades\Date::createFromTimeStamp(strtotime($event->date))->format('d/m/Y \k\l\. H:i') }} | $event ]) }}"> | @if(auth()->user()->can('event.edit'))$event ]) }}"> | @endif @if(auth()->user()->can('event.delete'))@endif |