@extends('admin.layouts.base') @section('title', 'Warehouse Bookings') @section('content')

Warehouse Bookings

{{-- Filters --}}
{{-- Bookings Table --}}
@forelse($bookings as $booking) @empty @endforelse
Booking Code Customer Warehouse Period Space (SQFT) Final Price Status Actions
{{ $booking->booking_code }} {{ $booking->user->fullname }}
{{ $booking->user->email }}
{{ $booking->warehouse->name }} {{ $booking->start_date->format('M d') }} - {{ $booking->end_date->format('M d, Y') }} {{ number_format($booking->calculated_sqft) }} ${{ number_format($booking->final_price, 2) }} @if ($booking->booking_status === 'pending') Pending @elseif($booking->booking_status === 'confirmed') Confirmed @elseif($booking->booking_status === 'active') Active @elseif($booking->booking_status === 'completed') Completed @else Cancelled @endif View

No bookings found.

@if ($bookings->hasPages())
{{ $bookings->links() }}
@endif
@endsection