@php $lang_local = app()->getLocale() @endphp @php $service_translation = $service->translateOrOrigin($lang_local); @endphp
{!! clean($service_translation->title) !!} {!! clean($service_translation->title) !!} @if($service_translation->address)
{{$service_translation->address}}
@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
    @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 @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
  • {{__("Fee:")}}
  • {{$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')