@if($service = $booking->service) @endif {{$booking->object_model}} @if($service = $booking->service) @php $translation = $service->translateOrOrigin(app()->getLocale()); @endphp {!! clean($translation->title) !!} @else {{__("[Deleted]")}} @endif {{display_date($booking->created_at)}} {{__("Start date")}} : {{display_date($booking->start_date)}}
{{__("End date")}} : {{display_date($booking->end_date)}}
{{__("Duration")}} : @if($booking->getMeta("booking_type") == "by_day") @if($booking->duration_days <= 1) {{__(':count day',['count'=>$booking->duration_days])}} @else {{__(':count days',['count'=>$booking->duration_days])}} @endif @endif @if($booking->getMeta("booking_type") == "by_night") @if($booking->duration_nights <= 1) {{__(':count night',['count'=>$booking->duration_nights])}} @else {{__(':count nights',['count'=>$booking->duration_nights])}} @endif @endif {{format_money($booking->total)}} {{format_money($booking->paid)}} {{format_money($booking->total - $booking->paid)}} {{$booking->statusName}} @if($service = $booking->service) {{__("Details")}} @include ($service->checkout_booking_detail_modal_file ?? '') @endif {{__("Invoice")}}