{{ __('Meeting Room Approval List') }}

@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif
@if ($search || request('date_range') || request('status')) Clear @endif
@can('print meeting room bookings') @endcan
@csrf
@can('print meeting room bookings') @endcan
@forelse($bookings as $booking) @empty @endforelse
ID Title Requested By Time Status
status, ['Initiated', 'Approved']) ? 'disabled' : '' }}>
#{{ $booking->id }}
{{ $booking->title }}
{{ $booking->room->name }}
{{ $booking->name ?? $booking->user->name }}
{{ $booking->department ?? '' }}
{{ $booking->created_at->format('d M Y H:i') }}
{{ $booking->start_time->format('d M Y H:i') }} - {{ $booking->end_time->format('H:i') }}
@if ($booking->recurrence_type && $booking->recurrence_type !== 'none')
{{ ucfirst($booking->recurrence_type) }} @if ($booking->recurrence_end_date) until {{ \Carbon\Carbon::parse($booking->recurrence_end_date)->format('d-m-Y') }} @endif
@endif
$booking->status === 'Initiated', 'bg-green-50 text-green-700 ring-1 ring-green-200' => $booking->status === 'Approved', 'bg-red-50 text-red-700 ring-1 ring-red-200' => $booking->status === 'Rejected', 'bg-gray-50 text-gray-700 ring-1 ring-gray-200' => !in_array($booking->status, ['Initiated', 'Approved', 'Rejected']), ])> {{ $booking->status }}
No bookings found.
@if (method_exists($bookings, 'links'))
{{ $bookings->links() }}
@endif
@push('scripts') @endpush