{{-- brafa Systems — Bookings overview. Livewire backing: App\Http\Livewire\Dashboard\ShowBookings. Bindings preserved: wire:click="sendPasscode(...)", $bookings, $PropertyName, $message, session('error'), messageShown JS event. --}}
@if (session()->has('error'))
{{ session('error') }}
@endif
{{ $PropertyName }}
{{ count($bookings) }}
total bookings
@if ($message)
{{ $message }}
@endif

{{ $PropertyName }} bookings

@forelse ($bookings as $record) @php $brafaKey = null; foreach (($record['infoItems'] ?? []) as $infoItem) { if ($infoItem['code'] == 'BRAFA_KEY') { $brafaKey = $infoItem['text']; break; } } @endphp @empty @endforelse
Booking Guest Unit Check-in Check-out Passcode
{{ $record['bookId'] }}
{{ $record['guestName'] }}
{{ $record['unitName'] }} {{ $record['firstNight'] }} {{ $record['lastNight'] }} @if ($brafaKey) {{ $brafaKey }} @else @endif
No bookings found.