@extends('emails.layout') @section('title', 'Reservation Confirmation') @section('header-subtitle', 'Your Table is Reserved!') @section('content')

Reservation Confirmed

Dear {{ $reservation->customer_name }},

Great news! Your reservation at {{ $restaurantName }} has been confirmed. We look forward to seeing you!

Reservation #{{ $reservation->id }} - Confirmed
@if($reservation->table) @endif @if($reservation->special_requests) @endif
Guest Name {{ $reservation->customer_name }}
Date {{ \Carbon\Carbon::parse($reservation->reservation_date)->format('l, F j, Y') }}
Time {{ \Carbon\Carbon::parse($reservation->reservation_time)->format('g:i A') }}
Party Size {{ $reservation->party_size }} {{ $reservation->party_size > 1 ? 'guests' : 'guest' }}
Table {{ $reservation->table->name ?? 'Table ' . $reservation->table->number }}
Special Requests {{ $reservation->special_requests }}
Important:
@if($restaurantAddress)

Restaurant Location

{{ $restaurantAddress }}
@if($restaurantPhone) Phone: {{ $restaurantPhone }} @endif

@endif

We can't wait to serve you!

@endsection