All Bookings

{{ __('All Booking with Status ') }}

Welcome Admin! EDC Booking System
Back to Profile
Click on Booking Id Button to know details of Applicant, Guest(s) , No. of days, Rooms etc. Total available rooms may vary. To keep it correct, regularly check-out the expired bookings.
{{-- --}} @forelse ($bookings as $booking) {{-- --}} @empty @endforelse
Applicant NameGuest NameBooked On
{{ $booking->booking_id }} {{ ucwords($booking->user->name) }} {{ optional($booking->guest)->guest_name ?? 'N/A' }}ff {{ date_format($booking->created_at, 'd/M/y') }} {{ date_format($booking->booking_from, 'd-M-Y') }} {{ date_format($booking->booking_to, 'd-M-Y ') }} @if($booking->booking_status=='accepted') {{ ucwords($booking->booking_status) }} @elseif($booking->booking_status=='rejected') {{ ucwords($booking->booking_status) }} @elseif($booking->booking_status=='checked_in') {{ ucwords($booking->booking_status) }} @else {{ ucwords($booking->booking_status) }} @endif @if($booking->follow_up=='yes') YES @else NO @endif
No Booking Found!
{{ $bookings->links() }}

View Details of Applicant & Guest(s)

@foreach ($bookings as $booking) @if ($booking->id == $id)
Applicant's Details:
Name: {{ $booking->user->name }}
Designation: {{ $booking->user->designation }}
Department: {{ $booking->user->department }}
Email: {{ $booking->user->email }}
Phone: {{ $booking->user->phone }}
User Type: {{ $booking->user->user_type }}

Guest Details
Guest Name: {{ $booking->guest->guest_name }}
Guest Email: {{ $booking->guest->guest_email }}
Guest Address: {{ $booking->guest->guest_phone }}
Guest State, City: {{ $booking->guest->city }}, {{ $booking->guest->state }}
Guest Relation: {{ $booking->guest->guest_relation }}
Id Type Submitted: {{ $booking->guest->guest_idtype }}
Booking Details:
Booking Id: {{ $booking->booking_id }}
Booking Purpose: {{ $booking->purpose }}
Number of Rooms: {{ $booking->num_rooms }}
Number of Days: {{ $booking->num_days }}
Total Guests: {{ $booking->totalguests }}
@endif @endforeach