@extends('layouts.master') @section('contain')

Appointment Details

--}} {{-- --}}
@foreach ($bookingData as $booking)

Appointment

{{-- --}} @if ($booking->service_provider) @else @endif @if ($booking->booking_type == 'job') {{-- @else --}} @endif
Job Title {{ ucwords(strtolower($booking->job_title ?? '-')) }} Booking Type {{ $booking->booking_type ?? '-' }} latitude {{ $booking->latitude ?? '-' }} longitude {{ $booking->longitude ?? '-' }}
Rate Per Hour {{ $booking->rate_per_hour ?? '-' }} Working Hours {{ $booking->working_hours ?? '-' }} Start Date {{ $booking->start_date ?? '-' }} End Date {{ $booking->end_date ?? '-' }}
Start Time {{ $booking->start_time ?? '-' }} End Time {{ $booking->end_time ?? '-' }} Pay Range {{ $booking->pay_range ?? '-' }} Duration {{ $booking->duration ?? '-' }}
Preference {{ $booking->preferences??'-'}}status {{ $booking->service_status ?? '-' }} Cancel Time {{ $booking->appointment_cancel_time ?? '-' }} Category {{ $booking->category->title ?? '-' }} Pay Type {{ $booking->pay_type ?? '-' }}
Ethnicity{{ $booking->service_provider->ethnicity ?? '-' }} -Language @if ($booking->service_provider) @php $languages = explode(',', $booking->service_provider->language); $languageString = implode(', ', $languages); echo $languageString; @endphp @else - @endif
Description {{ $booking->description ?? '-' }}
@if ($booking->appointmentextend)

extend Appointment

{{-- --}}
Job Title {{ $booking->appointmentextend->job_title ?? '-' }} Booking Type {{ $booking->appointmentextend->booking_type ?? '-' }} latitude {{ $booking->appointmentextend->latitude ?? '-' }} longitude {{ $booking->appointmentextend->longitude ?? '-' }}
Rate Per Hour {{ $booking->appointmentextend->rate_per_hour ?? '-' }} Working Hours {{ $booking->appointmentextend->working_hours ?? '-' }} Start Date {{ $booking->appointmentextend->start_date ?? '-' }} End Date {{ $booking->appointmentextend->end_date ?? '-' }}
Start Time {{ $booking->appointmentextend->start_time ?? '-' }} End Time {{ $booking->appointmentextend->end_time ?? '-' }} Pay Range {{ $booking->appointmentextend->pay_range ?? '-' }} Duration {{ $booking->appointmentextend->Duration ?? '-' }}
Preference {{ $booking->appointmentextend->preferences ?? '-' }} status {{ $booking->appointmentextend->service_status ?? '-' }} Cancel Time {{ $booking->appointmentextend->appointment_cancel_time ?? '-' }}Expire Time {{ $booking->appointmentextend->appointment_expire_time ?? '-' }}
@endif

Preferences

{{-- {{dd($booking->preferences_data)}} --}} @if (count($booking->preferences_data) == 0) @endif @foreach ($booking->preferences_data as $preferences) {{-- --}} @endforeach
No data available
Preferences{{ $preferences->title ?? '-' }}
@php $taxAndCharges = json_decode($booking->tax_and_charges); // $receiverDetails = json_decode($booking->receiver_details) @endphp {{-- {{dd($receiverDetails)}} --}} {{-- {{dd($taxAndCharges)}} --}}
@if ($is_type == 1)

Service Provider

Full Name {{ $booking->service_provider->full_name ?? '-' }} email {{ $booking->service_provider->email ?? '-' }}
phone {{ $booking->service_provider->phone ?? '-' }} gender {{ $booking->service_provider->gender ?? '-' }}
age {{ $booking->service_provider->age ?? '-' }} experience {{ $booking->service_provider->experiences ?? '-' }}
@elseif ($is_type == 2)

Service Provider

Full Name {{ $booking->service_provider->full_name ?? '-' }} email {{ $booking->service_provider->email ?? '-' }}
phone {{ $booking->service_provider->phone ?? '-' }} gender {{ $booking->service_provider->gender ?? '-' }}
age {{ $booking->service_provider->age ?? '-' }} experience {{ $booking->service_provider->experiences ?? '-' }}

Customer Detail

Full Name {{ $booking->customer->full_name ?? '-' }} email {{ $booking->customer->email ?? '-' }}
phone {{ $booking->customer->phone ?? '-' }} gender {{ $booking->customer->gender ?? '-' }}
age {{ $booking->customer->age ?? '-' }}
@else

Customer Detail

Full Name {{ $booking->customer->full_name ?? '-' }} email {{ $booking->customer->email ?? '-' }}
phone {{ $booking->customer->phone ?? '-' }} gender {{ $booking->customer->gender ?? '-' }}
age {{ $booking->customer->age ?? '-' }}
@endif
@endforeach
@endsection