Show
entries
Property Logo
Property Name
Property ID
Room ID
Unit Name
Room Name
URLs
Guest Checkout QR
Housekeeping QR
API Checkout QR
API Clean QR
@foreach($rooms as $room)
@php
$slug = 'room-'.Str::slug($room->UnitName.'-'.$room->PropertyName);
$guestFilename = $slug.'-guest-checkout.png';
$hkFilename = $slug.'-housekeeping.png';
$coFilename = $slug.'-api-checkout.png';
$cleanFilename = $slug.'-api-clean.png';
@endphp
{{ $room->PropertyName }}
{{ $room->PropertyID }}
{{ $room->RoomID }}
{{ $room->UnitName }}
{{ $room->RoomName }}
API Checkout: {{ $room->checkoutUrl }}
API Clean: {{ $room->cleanUrl }}
@php $guestExists = Storage::disk('public')->exists('qrcodes/'.$guestFilename); @endphp
@if($guestExists)
@else
@endif
@php $hkExists = Storage::disk('public')->exists('qrcodes/'.$hkFilename); @endphp
@if($hkExists)
@else
@endif
@php $coExists = Storage::disk('public')->exists('qrcodes/'.$coFilename); @endphp
@if($coExists)
@else
@endif
@php $cleanExists = Storage::disk('public')->exists('qrcodes/'.$cleanFilename); @endphp
@if($cleanExists)
@else
@endif
@endforeach
{{ $rooms->links('pagination::bootstrap-4') }}