{{__('Tour information')}}
@if($booking->gatewayObj) @endif @if($service->address) @endif @if($booking->start_date && $booking->end_date) @endif @php $person_types = $booking->getJsonMeta('person_types') @endphp @if(!empty($person_types)) @foreach($person_types as $type) @endforeach @else @endif
{{__('Booking Number')}} #{{$booking->id}}
{{__('Booking Status')}} {{$booking->statusName}}
{{__('Payment method')}} {{$booking->gatewayObj->getOption('name')}}
{{__('Tour name')}} {{$service->title}}
{{__('Address')}} {{$service->address}}
{{__('Start date')}} {{display_date($booking->start_date)}}
{{__('Duration:')}} {{human_time_diff($booking->end_date,$booking->start_date)}}
{{$type['name']}}: {{$type['number']}}
{{__("Guests")}}: {{$booking->total_guests}}
{{__('Pricing')}} @php $person_types = $booking->getJsonMeta('person_types') @endphp @if(!empty($person_types)) @foreach($person_types as $type) @endforeach @else @endif @php $extra_price = $booking->getJsonMeta('extra_price')@endphp @if(!empty($extra_price)) @endif @php $discount_by_people = $booking->getJsonMeta('discount_by_people') @endphp @if(!empty($discount_by_people)) @endif
{{$type['name']}}: {{$type['number']}} * {{format_money($type['price'])}} {{format_money($type['price'] * $type['number'])}}
{{__("Guests")}}: {{$booking->total_guests}} {{format_money($booking->getMeta('base_price'))}} {{format_money($booking->getMeta('base_price') * $booking->total_guests)}}
{{__("Extra Prices:")}}
@foreach($extra_price as $type) @endforeach
{{$type['name']}}: {{format_money($type['total'] ?? 0)}}
{{__("Discounts:")}}
@foreach($discount_by_people as $type) @endforeach
@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)}}
{{__('Total')}} {{format_money($booking->total)}}
{{__('Manage Bookings')}}