@extends('frontdesk.layouts.master_fullwidth') @section('custom_style') @endsection @section('content')
| Sl | C.Code | R.Code | A.Code | Agent | Room/Bed | Room/Bed No | Date | E.Checkout Date | Action |
|---|---|---|---|---|---|---|---|---|---|
| {{$key+1}} | {{$rsb->checkin_code}} | {{$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)Room @else Bed @endif | @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 | {{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 | @if(checkAuthPermission('frontdesk.day_adjust.index')) Day Adjust @endif @if(checkAuthPermission('frontdesk.checkin.edit')) @endif @if(checkAuthPermission('frontdesk.check_out.index')) @endif |
| No Check In With This Filter | |||||||||