direction == 1) dir="rtl" @endif> {{-- required meta tags --}} {{-- title --}} {{ 'Service Booking Invoice | ' . config('app.name') }} {{-- fav icon --}} {{-- styles --}} @php $mb = '35px'; $width = '50%'; $ml = '18px'; $pl = '15px'; $pr = '15px'; $float = 'right'; $floatL = 'left'; @endphp

{{ __('SERVICE BOOKING INVOICE') }}

@php $position = $orderInfo->currency_text_position; $currency = $orderInfo->currency_text; @endphp
{{-- order details start --}}

{{ __('Appointment Details') }}

{{ __('Booking No.') . ': ' }}{{ '#' . $orderInfo->order_number }}

@php $service_id = $orderInfo->service_id; $serviceInfo = App\Models\Services\ServiceContent::where('service_id', $service_id) ->select('name', 'address') ->first(); @endphp {{ __('Service Title') . ': ' }}{{ truncateString($serviceInfo->name, 25) }}

{{ __('Booking Date') . ': ' }}{{ \Carbon\Carbon::parse($orderInfo->created_at)->format('M d, Y') }}

{{ __('Appointment Date') . ': ' }}{{ \Carbon\Carbon::parse($orderInfo->booking_date)->format('M d, Y') }}

{{ __('Appointment Time') . ': ' }} {{ $orderInfo->start_date }} - {{ $orderInfo->end_date }}

@if (!empty($serviceInfo->address))

{{ __('Location') . ': ' }} {{ $serviceInfo->address }}

@endif

{{ __('Price') . ': ' }}{{ $position == 'left' ? $currency . ' ' : '' }}{{ number_format($orderInfo->customer_paid, 2) }}{{ $position == 'right' ? ' ' . $currency : '' }}

{{ __('Payment Method') . ': ' }}{{ $orderInfo->payment_method }}

{{ __('Payment Status') . ': ' }}{{ ucfirst($orderInfo->payment_status) }}

{{ __('Order Status') . ': ' }}{{ ucfirst($orderInfo->order_status) }}

{{-- order details end --}} {{-- billing details start --}}

{{ __('Billing Details') }}

{{ __('Name') . ': ' }}{{ $orderInfo->customer_name }}

{{ __('Email') . ': ' }}{{ $orderInfo->customer_email }}

{{ __('Contact Number') . ': ' }}{{ $orderInfo->customer_phone }}

{{ __('Address') . ': ' }}{{ $orderInfo->customer_address }}

@if ($orderInfo->customer_zip_code != null)

{{ __('Zip Code') . ': ' }}{{ $orderInfo->customer_zip_code }}

@endif

{{ __('Country') . ': ' }}{{ $orderInfo->customer_country }}

{{-- billing details end --}}