@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)}}
  • @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
    @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
  • {{__("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')