Rooms

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) Guest Checkout QR @else @endif @php $hkExists = Storage::disk('public')->exists('qrcodes/'.$hkFilename); @endphp @if($hkExists) Housekeeping QR @else @endif @php $coExists = Storage::disk('public')->exists('qrcodes/'.$coFilename); @endphp @if($coExists) API Checkout QR @else @endif @php $cleanExists = Storage::disk('public')->exists('qrcodes/'.$cleanFilename); @endphp @if($cleanExists) API Clean QR @else @endif
@endforeach
{{ $rooms->links('pagination::bootstrap-4') }}