@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
@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)}}
  • {{__('Duration:')}}
    @php $duration = $booking->getMeta("duration") @endphp {{duration_format($duration,true)}}
  • @endif @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
{{--@include('Booking::frontend/booking/checkout-coupon')--}} @do_action('booking.checkout.before_total_review')
    @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 @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 @if(!empty($booking->buyer_fees)) @php $buyer_fees = json_decode($booking->buyer_fees , true); foreach ($buyer_fees as $buyer_fee){ $fee_price = $buyer_fee['price']; if(!empty($buyer_fee['unit']) and $buyer_fee['unit'] == "percent"){ $fee_price = ( $booking->total_before_fees / 100 ) * $buyer_fee['price']; } @endphp
  • {{$buyer_fee['name_'.$lang_local] ?? $buyer_fee['name']}} @if(!empty($buyer_fee['per_ticket']) and $buyer_fee['per_ticket'] == "on") : {{$booking->total_guests}} * {{format_money( $fee_price )}} @endif
    @if(!empty($buyer_fee['per_ticket']) and $buyer_fee['per_ticket'] == "on") {{ format_money( $fee_price * $booking->total_guests ) }} @else {{ format_money( $fee_price ) }} @endif
  • @php } @endphp @endif
  • {{__("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')