@extends('layouts.customer') @section('title', $event->name . ' - Winery') @section('content')
Back to Events
@if($event->type === 'tasting') 🍷 Wine Tasting @elseif($event->type === 'harvest_festival') 🍇 Harvest Festival @elseif($event->type === 'vineyard_tour') 🚶 Vineyard Tour @endif

{{ $event->name }}

About this Event

{{ $event->description }}

Event Details

Date & Time {{ $event->event_date->format('l, F j, Y') }} at {{ $event->event_time->format('H:i') }}
@if($event->location)
Location {{ $event->location }}
@endif
Capacity {{ $event->availableSpots() }} of {{ $event->capacity }} spots available
Price {{ number_format($event->price_per_person, 2) }} € per person
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif

Make a Reservation

@if($event->isFull())

Event Full

This event has reached maximum capacity. Please check our other upcoming events.

@else
@csrf
@error('number_of_guests') {{ $message }} @enderror Maximum {{ $event->availableSpots() }} guests available
Price per person: {{ number_format($event->price_per_person, 2) }} €
Total: {{ number_format($event->price_per_person, 2) }} €
@endif
@endsection