{{--

{{store_info()->name_eng}}

{{store_info()->address_eng}}, {{store_info()->email}}, {{store_info()->contact_info}}

--}}

{{ store_info()->name_eng }}

{{ store_info()->address_eng }}
{{ store_info()->email }}
{{ store_info()->contact_info }}
Checkout Time

{{ date('h:i:sa', strtotime(store_info()->check_in_time)) }}

Checkout Consider Time

{{ store_info()->check_in_consider_time }} Minutes

@if (checkAuthPermission('frontdesk.hotel_check_in_checkout_info_edit')) @endif

Charts

Summary

Total

{{ $room_and_bed->where('type', 1)->count() }}

Rooms

{{ $room_and_bed->where('type', 2)->count() }}

Beds

Occupied

{{ $checkin_room->where('allotment_id', 0)->where('bed_id', 0)->where('check_in_status', 1)->where('check_in_time', '<', date('Y-m-d'))->count() }}

Rooms

{{ $checkin_room->where('allotment_id', 0)->where('bed_id', '!=', 0)->where('check_in_status', 1)->where('check_in_time', '<', date('Y-m-d'))->count() }}

Beds

Vacant

{{ $room_and_bed->where('type', 1)->where('room_clean_status', 1)->count() }}

Rooms

{{ $room_and_bed->where('type', 2)->where('room_clean_status', 1)->count() }}

Beds

Dirty/Out Of Order

{{ $room_and_bed->where('type', 1)->where('room_clean_status', 3)->count() }}

Dirty

{{ $room_and_bed->where('type', 1)->where('room_clean_status', 4)->count() }}

Out Of Order

Check-In Today

@php $today_last_second = date('Y-m-d') . ' 23:59:59'; $today_first_second = date('Y-m-d') . ' 00:00:00'; @endphp

{{ $checkin_room->where('allotment_id', 0)->where('bed_id', 0)->where('check_in_status', 1)->whereBetween('check_in_time', [$today_first_second, $today_last_second])->count() }}

Room

{{ $checkin_room->where('allotment_id', 0)->where('bed_id', '!=', 0)->where('check_in_status', 1)->whereBetween('check_in_time', [$today_first_second, $today_last_second])->count() }}

Bed

Reserved Today

{{ $booking_room->where('get_booking_info.type', 1)->count() }}

Room

{{ $booking_room->where('get_booking_info.type', 2)->count() }}

Bed

Allotted Room

{{ intVal($allotted_room) }}

Total

{{ $checkin_room->where('allotment_id', '!=', 0)->where('check_in_status', 1)->count() }}

Check-In

Possible Checkout

{{ $checkin_room->where('allotment_id', 0)->where('bed_id', 0)->where('check_in_status', 1)->where('end_date_time', '<', today())->count() }}

Room

{{ $checkin_room->where('allotment_id', 0)->where('bed_id', '!=', 0)->where('check_in_status', 1)->where('end_date_time', '<', today())->count() }}

Bed
@include('frontdesk.dashboard.possible_checkout_rooms') @include('frontdesk.dashboard.shortcut_modal')