Check In
{date('D, M d, Y', strtotime($searchResult['checkIn']))}
Check Out
{date('D, M d, Y', strtotime($searchResult['checkOut']))}
Adult
{$searchResult['adults']}
Rooms
{$searchResult['rooms']}
{$history = func()->urlpath(); $checkInTimeStamp = strtotime($searchResult['checkIn']);}
@if (count($property->rooms) > 0)
@foreach ($property->rooms as $room)
{$isOpen = app('query')->isRoomOpenForCurrentTimeStamp($room->id, $room->property, $checkInTimeStamp);}
{$isOpenTillCheckOut = app('query')->isRoomOpenBetweenTimeStamp($room->id, $room->property, $checkInTimeStamp, strtotime($searchResult['checkOut']));}
@if ($room->isVisible && $isOpenTillCheckOut)
@foreach ($room->images as $roomImage)
@endfor
{ucfirst(str_replace('_', ' ', $room->title))}
@foreach ($room->facilities as $feature)
@if (strlen($feature) > 1)
-
{$feature}
@endif
@endfor
@if (count($room->facilities) == 1 && strlen($room->facilities[0]) < 1)
@foreach ($property->facility as $feature)
-
{$feature}
@endfor
@endif
-
Occupance {$room->baseoccupancy} : {$room->maxoccupancy}
-
@if ($room->childrenpolicy == false)
Child not allowed
@else
Child allowed
@endif
-
@if ($room->pets == false)
Pets not allowed
@else
Pets allowed
@endif
-
@if ($room->smoking == false)
Smooking not allowed
@else
Smooking allowed
@endif
@if ($room->extrapersonprice > 0)
-
Extra cost above min occupance ₦{number_format($room->extrapersonprice, 0, '.', ',')}
@endif
@if ($property->rules->cancellation)
Free Cancellation
Avaliable for this room.
@endif
@if ($room->hasDiscount)
{$room->totalDiscount}% off
@endif
@if ($room->hasDiscount)
₦{number_format($room->price, 0, '.', ',')}
₦{number_format($room->newPrice, 0, '.', ',')}
@else
₦{number_format($room->price, 0, '.', ',')}
@endif
@endif
@endfor
@else
No room matches this availability scan. Please try again.
@endif