@extends('backend.layouts.master') @section('title', __('static.booking.details')) @section('content') @use('app\Helpers\Helpers')
{{ __('static.booking.details') }} #{{ $booking->booking_number }}
{{ __('static.booking.created_at') }}{{ $booking->created_at->format('j F Y, g:i A') }}
@forelse ($booking->sub_bookings as $sub_booking) @empty
no-image
{{__('static.data_not_found')}}
@endforelse
{{__('static.booking.sub_booking_no')}} {{__('static.booking.service_title')}} {{__('static.booking.service_provider')}} {{__('static.booking.service_rate')}} {{__('static.booking.sub_booking_details')}}
#{{ $sub_booking?->booking_number }} {{ $sub_booking?->service?->title }} {{ $sub_booking?->provider?->name }} {{Helpers::getSettings()['general']['default_currency']->symbol}} {{ $sub_booking?->service?->service_rate }}

{{__('static.consumer_details')}}

  • {{__('static.booking.consumer_name')}} : {{ $booking?->consumer?->name }}

  • {{__('static.phone')}} : +{{ $booking?->consumer?->code . ' ' . $booking?->consumer?->phone }}

  • {{__('static.country')}} : {{ $booking->consumer?->getPrimaryAddressAttribute()?->country?->name }}

  • {{__('static.state')}} : {{ $booking->consumer?->getPrimaryAddressAttribute()?->state?->name }}

  • {{__('static.city')}} : {{ $booking->consumer?->getPrimaryAddressAttribute()?->city }}

{{__('static.summary')}}

  • {{__('static.booking.payment_method')}} : {{ $booking->payment_method }}

  • {{__('static.booking.payment_status')}} : {{ $booking->payment_status }}

  • {{__('static.booking.total_extra_servicemen')}} : {{Helpers::getSettings()['general']['default_currency']->symbol}} {{ $booking->total_extra_servicemen ?? 0 }}

  • {{__('static.booking.total_servicemen_charge')}} : {{Helpers::getSettings()['general']['default_currency']->symbol}} {{ $booking->total_serviceman_charge ?? 0 }}

  • {{__('static.booking.coupon_discount')}} : {{Helpers::getSettings()['general']['default_currency']->symbol}} {{ $booking->coupon_total_discount ?? 0 }}

  • {{__('static.tax_total')}} : {{Helpers::getSettings()['general']['default_currency']->symbol}} {{ $booking->tax ?? 0 }}

  • {{__('static.sub_total')}} : {{Helpers::getSettings()['general']['default_currency']->symbol}} {{ $booking->subtotal ?? 0 }}

  • @if (isset($booking->platform_fees))
  • {{__('static.settings.platform_fees')}} : {{Helpers::getSettings()['general']['default_currency']->symbol}} {{ $booking->platform_fees }}

  • @endif
  • {{__('static.total')}} : {{Helpers::getSettings()['general']['default_currency']->symbol}} {{ $booking->total }}

@endsection @push('js') @endpush