Success! {{ session('success') }}
@endif
@if(session('error'))
{{ session('error') }}
@endif
List of Activities
Name | Location | Holiday | Entry Type | Photo | Created On | |
---|---|---|---|---|---|---|
No Activities found | @else @foreach ($activities as $activity)||||||
{{ $activity->name }} | @if($activity->location_id != 0 && $activity->location) {{ $activity->location->name}}, ({{ $activity->location->city->name }},{{ $activity->location->city->state->name }}, {{ $activity->location->city->state->country->name }} ) @else No Location @endif | {{ $activity->holiday }} | @if( $activity->free_ticket == '1') Free Entry @elseif($activity->free_ticket == '0') Paid Entry @endif |
@if(!empty($activity->image_path) && file_exists(public_path('storage/resize/' . $activity->image_path)))
![]() |
{{ $activity->created_at }} | @if ($canEdit) Edit @endif @if ($canDelete) Delete @endif |