Activities

@if ($canAdd) @endif
@if (session('success'))
Success! {{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
List of Activities
@if ($activities->count() == 0) @else @foreach ($activities as $activity) @endforeach @endif
Name Location Holiday Entry Type Photo Created On
No Activities found
{{ $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') @endif @if(!empty($activity->image_path) && file_exists(public_path('storage/resize/' . $activity->image_path))) {{ $activity->name }} @elseif(!empty($activity->image_path) && file_exists(public_path('storage/'.$activity->image_path))) {{ $activity->name }} @else @endif {{ $activity->created_at }} @if ($canEdit) Edit @endif @if ($canDelete) Delete @endif