@extends('frontend::layouts.master') @section('title', __('frontend.booking')) @section('content')
{{--
@foreach ($tabs as $index => $tab)
$index === $currentStep]) data-check="{{ $index < $currentStep ? 'true' : 'false' }}" data-label="{{ $tab['label'] }}">
{{ $tab['label'] }}
@endforeach
--}}
@if (isset($selectedService))

{{ __('frontend.service') }}

{{ $selectedService->name }}
@endif @php $clinicTab = collect($tabs)->firstWhere('value', 'Choose Clinics'); $doctorTab = collect($tabs)->firstWhere('value', 'Choose Doctors'); @endphp @if ($clinicTab && $doctorTab) @if ($clinicTab['index'] < $doctorTab['index'])
@if (isset($selectedClinic))

{{ __('frontend.clinic') }}

{{ $selectedClinic->name }}
@endif
@if (isset($selectedDoctor))

{{ __('frontend.doctor') }}

{{ $selectedDoctor->user->first_name }} {{ $selectedDoctor->user->last_name }}
@endif
@else
@if (isset($selectedDoctor))

{{ __('frontend.doctor') }}

{{ $selectedDoctor->user->first_name }} {{ $selectedDoctor->user->last_name }}
@endif
@if (isset($selectedClinic))

{{ __('frontend.clinic') }}

{{ $selectedClinic->name }}
@endif
@endif @endif @if (isset($appointmentDate) || isset($selectedSlot))

{{ __('frontend.appointment_details') }}

{{ $appointmentDate ?? '' }}{{ isset($appointmentDate) && isset($selectedSlot) ? ' , ' : '' }}{{ $selectedSlot ?? '' }}
@endif
{{ __('frontend.choose_date_time') }}
{{ __('frontend.choose_time') }}
{{ __('messages.booking_for') }}
{{ __('clinic.lbl_select_patient') }}
{{ __('frontend.medical_history') }}
{{ __('frontend.upload_medical_report') }}
{{--
Available Coupons
View All
Applied
Apply
--}}
{{ __('frontend.payment_method') }}
@foreach ($enabledPaymentMethods as $method)
first) checked @endif>
@endforeach
@for ($i = 0; $i < 4; $i++) @include('frontend::components.card.shimmer_service_card') @endfor
@for ($i = 0; $i < 4; $i++) @include('frontend::components.card.shimmer_clinic_card') @endfor
@for ($i = 0; $i < 4; $i++) @include('frontend::components.card.shimmer_doctor_card') @endfor
@if (!empty($paymentDetails)) @endif @endsection @push('after-styles') @endpush @push('after-scripts') @endpush