@extends('layouts.client') @section('title', 'Dashboard.Blade') @push('head') @endpush @section('content')
@if($studio->logo_url) Studio Logo @endif

{{ $studio->studio_name ?: 'Tattoo Studio' }}

Your Appointment Portal

Progress {{ $appointmentLink->getProgressPercentage() }}%

Client Information

{{ $appointment->client->name }}

{{ $appointment->client->email }}

{{ $appointment->client->phone }}

Appointment Details

{{ $appointment->scheduled_at->format('F j, Y') }}

{{ $appointment->scheduled_at->format('g:i A') }}

Status: {{ $appointment->status }}

@php $stages = [ 'consent' => [ 'title' => 'Consent Form', 'icon' => 'fa-file-signature', 'description' => 'Complete your digital consent form', 'time' => '7 days before appointment' ], 'confirmation' => [ 'title' => 'Confirm Appointment', 'icon' => 'fa-calendar-check', 'description' => 'Confirm your appointment details', 'time' => '1 day before appointment' ], 'checkin' => [ 'title' => 'Check-In', 'icon' => 'fa-door-open', 'description' => 'Check in for your appointment', 'time' => 'Day of appointment' ], 'aftercare' => [ 'title' => 'Aftercare', 'icon' => 'fa-heart-pulse', 'description' => 'View aftercare instructions', 'time' => 'After appointment' ], 'progress' => [ 'title' => 'Progress Photos', 'icon' => 'fa-camera', 'description' => 'Upload healing progress photos', 'time' => '1-2 weeks after' ], 'review' => [ 'title' => 'Review', 'icon' => 'fa-star', 'description' => 'Leave a review of your experience', 'time' => '1 month after' ] ]; @endphp @foreach($stages as $stageKey => $stage) @php $isCompleted = $appointmentLink->hasCompletedStage($stageKey); $isActive = $appointmentLink->current_stage === $stageKey; $cardClass = $isCompleted ? 'stage-completed' : ($isActive ? 'stage-active' : ''); @endphp

{{ $stage['title'] }}

{{ $stage['time'] }}

@if($isCompleted) @elseif($isActive) @endif

{{ $stage['description'] }}

@if($isActive) Continue @elseif($isCompleted)
Completed @if($appointmentLink->{$stageKey . '_at'}) on {{ $appointmentLink->{$stageKey . '_at'}->format('M j, Y') }} @endif
@else
Coming up
@endif
@endforeach
@if(session('success'))

{{ session('success') }}

@endif @if(session('error'))

{{ session('error') }}

@endif
This link expires on {{ $appointmentLink->expires_at->format('F j, Y \a\t g:i A') }}
@endsection