@php $current_hotel = null @endphp
@foreach ($checkin_room_details->sortBy('purchaseInfo.oh_id') as $key=>$crd)
@if($booking_info->is_other_hotel_checkin == 1)
@if($current_hotel != $crd->purchaseInfo->oh_id)
| {{ $crd->purchaseInfo->getHotel->name }} |
@php $current_hotel = $crd->purchaseInfo->oh_id; @endphp
@endif
@endif
|
@if($booking_info->is_other_hotel_checkin == 1)
{{ $crd->purchaseInfo->room_no }}
@else
@if($crd->get_bed_info == null)
{{$crd->get_room_info->room_number}} {{--$crd->room_id--}}
@else
{{$crd->get_bed_info->room_number}} [{{$crd->get_room_info->room_number}}]
@endif
@endif
|
{{$crd->voucher_no}}
|
@if($booking_info->is_other_hotel_checkin == 1)
@else
{{$crd->get_room_type->name}}
@endif
|
|
{{-- @php
$in_date = carbon()->createFromDate($crd->start_date_time);
$total_days = $in_date->diffInDays(now()) + 1;
@endphp --}}
{{-- {{$total_days}} --}}
|
{{--{{now()}}--}}
|
|
|
@if($is_hk_clearance_required)
@if($crd->hkCrRequest && $crd->hkCrRequest->status == 3)
@elseif($crd->hkCrRequest && $crd->hkCrRequest->status == 1)
@else
@endif
|
@endif
@if(($is_hk_clearance_required == 1 && $crd->hkCrRequest?->status == 3) || $is_hk_clearance_required == 0)
@if($crd->checkoutRequest->count() > 0)
Checkout Request Pending
@else
room_id:$crd->bed_id)) checked @endif @endisset data-qty="{{ $crd->qty }}" class="selectedId select_id_{{$crd->id}}">
@endif
@endif
|
@endforeach