@extends('components.app-layout') @section('title', 'Events') @section('subtitle', 'Manage church events and activities') @section('content')
Discover and manage upcoming church activities
Total Events
{{ $eventStats['total'] ?? 0 }}
This Month
{{ $eventStats['this_month'] ?? 0 }}
Upcoming
{{ $eventStats['upcoming'] ?? 0 }}
{{ $event->description ?: 'No description available for this event.' }}
Time
@if($event->is_all_day)All Day
@else{{ $event->start_datetime ? $event->start_datetime->format('g:i A') : 'TBD' }} @if($event->end_datetime) - {{ $event->end_datetime->format('g:i A') }} @endif
@endifLocation
{{ $event->location ?: 'Location TBD' }}
Attendance
{{ $event->registered_count ?? 0 }} registered @if($event->checked_in_count ?? 0 > 0) ({{ $event->checked_in_count }} present) @endif
{{ $event->description ?? 'Join us for our weekly Sunday worship service with inspiring messages and uplifting music.' }}