@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->image_url) @if(!empty($disable_lazyload)) {!! clean($service_translation->title) !!} @else {!! get_image_tag($service->image_id,'medium',['class'=>'img-responsive','alt'=>$service_translation->title]) !!} @endif @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)}}
  • {{__('End date:')}}
    {{display_date($booking->end_date)}}
  • @if($booking->getMeta("booking_type") == "by_day")
  • {{__('Days:')}}
    {{$booking->duration_days}}
  • @endif @if($booking->getMeta("booking_type") == "by_night")
  • {{__('Nights:')}}
    {{$booking->duration_nights}}
  • @endif @endif @if($meta = $booking->getMeta('adults'))
  • {{__('Adults:')}}
    {{$meta}}
  • @endif @if($meta = $booking->getMeta('children'))
  • {{__('Children:')}}
    {{$meta}}
  • @endif
    @php $price_item = $booking->total_before_extra_price; @endphp @if(!empty($price_item))
  • {{__('Rental price')}}
    {{format_money( $price_item)}}
  • @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_person']) and $item['per_person'] == "on") : {{$booking->total_guests}} * {{format_money( $fee_price )}} @endif
    @if(!empty($item['per_person']) and $item['per_person'] == "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')