@extends('layouts.app') @section('title', 'Events Management') @section('navigation') Dashboard Settings Events Widgets @endsection @section('content')

Events Management

Control which events are visible on your storefront and mark events as featured.

@if($totalEvents ?? 0 > 0) {{ $totalEvents }} events found @endif
@if($error)
Error loading events: {{ $error }}
Check your EventBookings connection settings
@elseif(empty($events))
No events found. @if(!$store->storeSetting || !$store->storeSetting->is_connected) Please connect your EventBookings account first. @else Make sure you have published events in your EventBookings account. @endif
@else
@foreach($events as $event) @endforeach
Event Date Location Visible Featured Actions
{{ $event['title'] ?? 'Untitled Event' }} @if($event['description'] ?? '')
{{ Str::limit(strip_tags($event['description']), 80) }} @endif
@if($event['start_date'] ?? '') {{ \Carbon\Carbon::parse($event['start_date'])->format('M j, Y') }} @if($event['start_time'] ?? '')
{{ \Carbon\Carbon::parse($event['start_time'])->format('g:i A') }} @endif @else TBD @endif
@if($event['location'] ?? '') {{ $event['location']['name'] ?? $event['location'] }} @if(isset($event['location']['city']))
{{ $event['location']['city'] }} @endif @else No location @endif
@if($event['uuid'] ?? '') @endif

Legend

Visible: Controls whether the event appears on your storefront widgets.
Featured: Marks the event as featured in featured event widgets.
@endif
@if(!empty($events))

Quick Actions

@csrf
@endif @endsection @push('scripts') @endpush