@php $lang_local = app()->getLocale() @endphp

{{__("Your Booking")}}

@php $service_translation = $service->translateOrOrigin($lang_local); @endphp

{{$service_translation->title}}

@if($service_translation->address)

{{$service_translation->address}}

@endif
{{--
@if($image_url = $service->getImageUrl()) {{$service->title}} @endif
--}}
    @if($booking->start_date)
  • {{__('Start date:')}}
    {{display_date($booking->start_date)}}
  • {{__('Duration:')}}
    {{human_time_diff($booking->end_date,$booking->start_date)}}
  • @endif @php $person_types = $booking->getJsonMeta('person_types')@endphp @if(!empty($person_types)) @foreach($person_types as $type)
  • {{$type['name_'.$lang_local] ?? $type['name']}}:
    {{$type['number']}}
  • @endforeach @else
  • {{__("Guests")}}:
    {{$booking->total_guests}}
  • @endif
{{--@include('Booking::frontend/booking/checkout-coupon')--}} @do_action('booking.checkout.before_total_review')
    @php $person_types = $booking->getJsonMeta('person_types') @endphp @if(!empty($person_types)) @foreach($person_types as $type)
  • {{ $type['name_'.$lang_local] ?? $type['name']}}: {{$type['number']}} * {{format_money($type['price'])}}
    {{format_money($type['price'] * $type['number'])}}
  • @endforeach @else
  • {{__("Guests")}}: {{$booking->total_guests}} * {{format_money($booking->getMeta('base_price'))}}
    {{format_money($booking->getMeta('base_price') * $booking->total_guests)}}
  • @endif @php $extra_price = $booking->getJsonMeta('extra_price') @endphp @if(!empty($extra_price))
  • {{__("Extra Prices:")}}
    • @foreach($extra_price as $type)
    • {{$type['name_'.$lang_local] ?? $type['name']}}:
      {{format_money($type['total'] ?? 0)}}
    • @endforeach
  • @endif @php $discount_by_people = $booking->getJsonMeta('discount_by_people')@endphp @if(!empty($discount_by_people))
  • {{__("Discounts:")}}
    • @foreach($discount_by_people as $type)
    • @if(!$type['to']) {{__('from :from guests',['from'=>$type['from']])}} @else {{__(':from - :to guests',['from'=>$type['from'],'to'=>$type['to']])}} @endif :
      - {{format_money($type['total'] ?? 0)}}
    • @endforeach
  • @endif @if(!empty($booking->buyer_fees)) @endif
  • {{__("Total:")}}
    {{format_money($booking->total)}}