@forelse ($checkins as $key=>$rsb) @empty @endforelse
{{__('obs.sl')}} {{__('obs.check_in')}} {{__('obs.code')}} {{__('obs.old_check_in')}} {{__('obs.code')}} {{__('obs.reservation')}} {{__('obs.code')}} {{__('obs.allotment')}} {{__('obs.code')}} {{__('obs.agent')}} {{__('obs.room')}}/{{__('obs.bed')}} {{__('obs.room')}}/{{__('obs.bed')}} {{__('obs.no')}} {{__('obs.date')}} {{__('obs.expected')}} {{__('obs.checkout')}} {{__('obs.date')}} {{__('obs.action')}}
{{$key+1}} @include('frontdesk.common.kas_response_show', ['ksa_response'=>$rsb->ksa_response, 'id' => $rsb->id]) {{$rsb->checkin_code}} {{ $rsb->version != 1 ? '[*]' : '' }} {!! $rsb->is_other_hotel_checkin == 1 ? '' : '' !!} @if($rsb->checkoutRequest->count() > 0)
{{ $rsb->checkoutRequest->count() }} room(s) check out pending @endif @if($rsb->booking_status == 7)
@if(checkAuthPermission('frontdesk.checkin.approve'))
@else Not Approved @endif @endif @if($rsb->is_commission == 1)
Local Sale By Reception @endif
{{$rsb->remarks ?? '-'}} {{$rsb->resv_code ?? '-'}} {{ $rsb->allotment_id != 0 ? $rsb->get_allotment_info->code : '-' }} @if($rsb->get_agent_info){{$rsb->get_agent_info->name_eng}}@endif @if($rsb->type == 1){{__('obs.room')}} @else {{__('obs.bed')}} @endif @if($rsb->is_other_hotel_checkin) @foreach ($rsb->get_checkin_info->groupBy('purchaseInfo.oh_id') as $oh) {{ $oh->first()->purchaseInfo->getHotel->name ?? "" }}: @foreach ($oh as $room) {{ $room->manual_room_no ?? "" }} @endforeach @endforeach @else @if($rsb->type == 1) @foreach ($rsb->get_checkin_info as $room_no) {{$room_no->get_room_info->room_number}}@if(!$loop->last),@endif @endforeach @else @foreach ($rsb->get_checkin_info as $room_no) {{$room_no->get_bed_info->room_number}}@if(!$loop->last),@endif @endforeach @endif @endif {{date('d-m-Y h:i:sa', strtotime($rsb->check_in_date))}} @php $unique = [] @endphp @foreach ($rsb->get_checkin_info as $chk_date) @if(!in_array($chk_date->end_date_time.'+1 days', $unique)) @php array_push($unique,($chk_date->end_date_time.'+1 days')) @endphp {{date('d-m-Y', strtotime($chk_date->end_date_time.'+1 days'))}}@if(!$loop->last),@endif @endif @endforeach
{{__('obs.n_o')}} {{__('obs.check_in')}} {{__('obs.with_this_filter')}}