{{-- Deprecated --}} @extends('admin.layout.master') @section('title', 'Other Hotel Checkout') @section('content')
{{__('obs.other_hotel_checkout')}}

Please check end date carefully

{{-- --}} {{-- --}} {{-- --}} {{-- --}}
{{ $booking_info->get_bill_ledger->name_eng }}
{{ $booking_info->get_agent_info->name_eng }}
{{ $booking_info->get_company_name->name }}
{{ $booking_info->adult }}
{{ $booking_info->children }}
{{-- @include('frontdesk.common.booking_other_info') --}}
{{ __('obs.checkin_no') }} {{ $booking_info->checkin_code }}
{{--
@if ($booking_info->confirm_date) {{ date('d-m-Y', strtotime($booking_info->confirm_date)) }} @endif
@if ($booking_info->confirm_date) {{ date('H:i', strtotime($booking_info->confirm_date)) }}@endif
{{ $booking_info->remarks }}
--}}
{{-- --}} @foreach ($booking_info->get_checkin_info->groupBy('purchaseInfo.oh_id') as $infos) @foreach ($infos as $i) @php $end_date = date('d-m-Y', strtotime($i->end_date_time.' +1 day')); @endphp {{-- --}} @endforeach @endforeach
Sl{{ __('obs.room_type') }} {{ __('obs.room_no') }} {{ __('obs.from') }} {{ __('obs.night') }} {{ __('obs.to') }} {{ __('obs.rent') }}
Hotel Name: {{ $infos->first()->purchaseInfo->getHotel->name ?? '' }}
{{ ++$sl }}{{ $i->purchaseInfo->getRoomType->name }} {{ $i->purchaseInfo->room_no }} {{ date('d-m-Y', strtotime($i->start_date_time)) }} {{ $i->qty }} {{ $end_date }} {{-- {{ $i->rent }} --}} @if ($booking_info->tax_type == 2) {{ number_format($i->rent, 2) }} @else {{ number_format($i->rent + $i->vat, 2) }} @endif {{-- {{ date('Y-m-d', strtotime($end_date)) }} {{ date('Y-m-d') }} --}} @if(date('Y-m-d', strtotime($end_date)) >= date('Y-m-d')) @endif
@include('frontdesk.common.common') @endsection @section('script') @endsection