@extends('user.layouts.app') @section('title', 'Warehouse Bookings') @section('content')

My Warehouse Bookings

View and manage all your warehouse space bookings

@if ($bookings->count() > 0)
@foreach ($bookings as $booking) @endforeach
Booking Code Date Warehouse Period Space (SQFT) Final Price Status Action
#{{ $booking->booking_code }} {{ $booking->created_at->format('M d, Y') }} {{ $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 {{ ucfirst($booking->booking_status) }} @endif @if ($booking->canBeExtended()) @endif @if ($booking->activeExtensionRequest) Pending @endif
Showing {{ ($bookings->currentPage() - 1) * $bookings->perPage() + 1 }}-{{ min($bookings->currentPage() * $bookings->perPage(), $bookings->total()) }} from {{ $bookings->total() }}
@else

No bookings yet

Book your first warehouse space to get started.

@endif
{{-- Include the Warehouse Booking Wizard Component --}} @include('components.warehouse-booking-wizard', [ 'warehouses' => $warehouses, ]) {{-- Include the Extension Request Sidebar Component --}} @include('components.warehouse-extension-sidebar') @endsection @push('scripts') @endpush