Shop, menu, and booking storefronts with OIDC SSO, Pay checkout, and merchant.ladill.com deployment workflow. Co-authored-by: Cursor <cursoragent@cursor.com>
46 lines
2.2 KiB
PHP
46 lines
2.2 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Booking confirmed</title>
|
|
@include('partials.favicon')
|
|
@vite(['resources/css/app.css'])
|
|
</head>
|
|
<body class="flex min-h-screen items-center justify-center bg-slate-50 px-4 py-12 antialiased">
|
|
<div class="w-full max-w-sm text-center">
|
|
<div class="mx-auto flex h-16 w-16 items-center justify-center rounded-full bg-emerald-100">
|
|
<svg class="h-8 w-8 text-emerald-600" fill="none" stroke="currentColor" stroke-width="1.5" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" d="M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"/>
|
|
</svg>
|
|
</div>
|
|
<h1 class="mt-5 text-2xl font-bold text-slate-900">Booking confirmed</h1>
|
|
<p class="mt-2 text-sm text-slate-500">
|
|
Thank you{{ $booking->customer_name ? ', '.$booking->customer_name : '' }}. Your appointment is booked.
|
|
</p>
|
|
<div class="mt-8 overflow-hidden rounded-2xl border border-slate-200 bg-white text-left shadow-sm">
|
|
<div class="divide-y divide-slate-100 px-5 py-4 text-sm">
|
|
<div class="flex justify-between gap-3 py-2">
|
|
<span class="text-slate-500">Service</span>
|
|
<span class="font-medium text-slate-900">{{ $booking->service_name }}</span>
|
|
</div>
|
|
<div class="flex justify-between gap-3 py-2">
|
|
<span class="text-slate-500">When</span>
|
|
<span class="font-medium text-slate-900">{{ $booking->starts_at->format('D j M Y, g:i A') }}</span>
|
|
</div>
|
|
<div class="flex justify-between gap-3 py-2">
|
|
<span class="text-slate-500">Duration</span>
|
|
<span class="font-medium text-slate-900">{{ $booking->duration_minutes }} min</span>
|
|
</div>
|
|
@if((float) $booking->amount_ghs > 0)
|
|
<div class="flex justify-between gap-3 py-2">
|
|
<span class="text-slate-500">Paid</span>
|
|
<span class="font-semibold text-slate-900">GHS {{ number_format((float) $booking->amount_ghs, 2) }}</span>
|
|
</div>
|
|
@endif
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|