{{-- Progress Indicator --}}
@php $steps = [ 1 => 'Name', 2 => 'Credentials', 3 => 'Availability', ]; @endphp @foreach ($steps as $number => $label)
@if (!$loop->first)
@endif
@if ($currentStep > $number) @else {{ $number }} @endif
{{ $label }}
@endforeach
{{-- Step Content --}}
{{-- Step 1: Name Confirmation --}} @if ($currentStep === 1)

Confirm Your Name

Verify your name as it will appear in the system.

@error('first_name')

{{ $message }}

@enderror
@error('last_name')

{{ $message }}

@enderror
@endif {{-- Step 2: Credentials --}} @if ($currentStep === 2)

Credentials & License Info

Enter your professional credentials and license information.

@error('credentials')

{{ $message }}

@enderror
@endif {{-- Step 3: Availability Grid --}} @if ($currentStep === 3)

Your Availability

Select the times you are generally available each week.

@php $days = ['monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday', 'sunday']; $dayLabels = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']; $slots = ['morning', 'afternoon', 'evening']; @endphp
@foreach ($dayLabels as $dayLabel) @endforeach @foreach ($slots as $slot) @foreach ($days as $day) @endforeach @endforeach
{{ $dayLabel }}
{{ ucfirst($slot) }}
@error('availability')

{{ $message }}

@enderror
@endif {{-- Completed: All required steps done --}} @if ($currentStep >= 4)

Profile Setup Complete!

Your profile is now active. You can head to the dashboard to get started.

Exit to Dashboard
@endif