@extends("admin.layout.base") @extends("admin.layout.header") @section("title") Aktiviteter - Vis @endsection @section("path") Vis Aktiviteter / @endsection @section("content")
@if(auth()->user()->can('event.show')) CreateOpret Aktivitet CreateOpret ugentligt aktivitet @endif
@if(auth()->user()->can('event.edit')) @endif @if(auth()->user()->can('event.delete')) @endif @foreach($events as $event) @if(auth()->user()->can('event.edit')) @endif @if(auth()->user()->can('event.delete')) @endif @endforeach
Aktivitets Navn Aktivitets Ansvarlig Aktivitets Dato Show previewUpdateDelete
{{ $event->name }} {{ $event->accountable }} {{ \Illuminate\Support\Facades\Date::createFromTimeStamp(strtotime($event->date))->format('d/m/Y \k\l\. H:i') }} $event ]) }}">Show preview $event ]) }}">Update @csrf Delete
@if(auth()->user()->can('event.edit')) @endif @if(auth()->user()->can('event.delete')) @endif @foreach(\App\MultipleEventsParent::query()->orderBY('id' , 'desc')->get() as $event) @if(auth()->user()->can('event.edit')) @endif @if(auth()->user()->can('event.delete')) @endif @endforeach
Uge Show previewPrint UpdateDelete
{{ $event->week}} $event->id]) }}">Show preview $event->id ]) }}" target="_blank">Printid) }}">Update @csrf Delete
@endsection @section('scripts') @endsection