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

{{__("Your Booking")}}

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

{!! clean($service_translation->title) !!}

@if($service_translation->address)

{{$service_translation->address}}

@endif
@if($image_url = $service->getImageUrl()) {!! clean($service_translation->title) !!} @endif
@php $vendor = $service->author; @endphp @if($vendor->hasPermissionTo('dashboard_vendor_access') and !$vendor->hasPermissionTo('dashboard_access'))
{{ __("Vendor") }}: {{$vendor->getDisplayName()}}
@endif
    @if($booking->start_date)
  • {{__('Start date:')}}
    {{display_date($booking->start_date)}}
  • @if($booking->getMeta("booking_type") == "ticket")
  • {{__('Duration:')}}
    @php $duration = $booking->getMeta("duration") @endphp {{duration_format($duration)}}
  • @endif @if($booking->getMeta("booking_type") == "time_slot")
  • {{__('Duration:')}}
    {{ $booking->getMeta("duration") }} {{ $booking->getMeta("duration_unit") }}
  • {{__('Start Time:')}}
    @if(!empty($timeSlots = $booking->time_slots)) @foreach( $timeSlots as $item )
    {{ date( "H:i",strtotime($item->start_time)) }}
    @endforeach @endif
  • @endif @endif @if($booking->getMeta("booking_type") == "ticket") @php $ticket_types = $booking->getJsonMeta('ticket_types')@endphp @if(!empty($ticket_types)) @foreach($ticket_types as $type)
  • {{$type['name_'.$lang_local] ?? $type['name']}}:
    {{$type['number']}}
  • @endforeach @endif @endif
@do_action('booking.checkout.before_total_review')
    @if($booking->getMeta("booking_type") == "time_slot")
  • {{ $booking->total_guests }} x {{ format_money( $booking->getJsonMeta('base_price')) }}
    {{format_money( $booking->getJsonMeta('base_price') * $booking->total_guests ) }}
  • @endif @if($booking->getMeta("booking_type") == "ticket") @php $ticket_types = $booking->getJsonMeta('ticket_types') @endphp @if(!empty($ticket_types)) @foreach($ticket_types as $type)
  • {{ $type['name_'.$lang_local] ?? $type['name']}}: {{$type['number']}} * {{format_money($type['price'])}}
    {{format_money($type['price'] * $type['number'])}}
  • @endforeach @endif @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 $list_all_fee = []; if(!empty($booking->buyer_fees)){ $buyer_fees = json_decode($booking->buyer_fees , true); $list_all_fee = $buyer_fees; } if(!empty($vendor_service_fee = $booking->vendor_service_fee)){ $list_all_fee = array_merge($list_all_fee , $vendor_service_fee); } @endphp @if(!empty($list_all_fee)) @foreach ($list_all_fee as $item) @php $fee_price = $item['price']; if(!empty($item['unit']) and $item['unit'] == "percent"){ $fee_price = ( $booking->total_before_fees / 100 ) * $item['price']; } @endphp
  • {{$item['name_'.$lang_local] ?? $item['name']}} @if(!empty($item['per_ticket']) and $item['per_ticket'] == "on") : {{$booking->total_guests}} * {{format_money( $fee_price )}} @endif
    @if(!empty($item['per_ticket']) and $item['per_ticket'] == "on") {{ format_money( $fee_price * $booking->total_guests ) }} @else {{ format_money( $fee_price ) }} @endif
  • @endforeach @endif @includeIf('Coupon::frontend/booking/checkout-coupon')
  • {{__("Total:")}}
    {{format_money($booking->total)}}
    @if($booking->status !='draft')
    {{__("Paid:")}}
    {{format_money($booking->paid)}}
    @if($booking->paid < $booking->total )
    {{__("Remain:")}}
    {{format_money($booking->total - $booking->paid)}}
    @endif @endif
  • @include ('Booking::frontend/booking/checkout-deposit-amount')