@extends('layouts.admin') @section('title', 'Stalls Management - ' . $market->name) @section('content')

Stalls Management

{{ $market->name }}

{{ $market->address }}

{{ ucfirst($market->market_type) }} Market
Total Stalls
{{ $stats['total_stalls'] }}
Available
{{ $stats['available_stalls'] }}
Occupied
{{ $stats['occupied_stalls'] }}
Categorized
{{ $stats['categorized_stalls'] }}
Uncategorized
{{ $stats['uncategorized_stalls'] }}
Monthly Revenue
${{ number_format($stats['total_revenue']) }}
Search & Filter Stalls
Reset
Stalls ({{ $stalls->total() }} total)
@if($stalls->count() > 0)
@foreach($stalls as $stall)
{{ $stall->display_name }}
{{ ucfirst($stall->getRentalStatus()) }}

{{ $stall->description ?: 'No description' }}

Type: {{ ucfirst($stall->stall_type) }}
Size: {{ $stall->size_sqft }} sq ft
Rent: ${{ number_format($stall->monthly_rent) }}/month
@if($stall->hasBizspotCategories())
Categories:
{{ $stall->getBizspotCategoryPath() }}
@else
Categories:
Uncategorized
@endif @if($stall->currentVendor)
Current Vendor:
{{ $stall->currentVendor->vendor_name }}
@endif
@endforeach
{{ $stalls->appends(request()->query())->links() }}
@else
No stalls found

No stalls match your current filters.

Clear Filters
@endif
@endsection @push('scripts') @endpush