@extends('layouts.admin') @section('title', 'Mall Stores - ' . $mall->name) @section('content')

{{ $mall->name }} - Store Management

Add New Store Back to Mall
Total Stores
{{ $stats['total'] }}
Operational
{{ $stats['operational'] }}
Coming Soon
{{ $stats['coming_soon'] }}
Total Area
@if($stats['total'] > 0) {{ number_format($stats['total_area'] ?? 0) }} sq ft @else 0 stores @endif
Search & Filter Stores
Stores
@if($stores->count() > 0)
@foreach($stores as $store) @endforeach
Photo Store Info Location Details Status Actions
@if($store->logo_image) {{ $store->store_name }} @elseif($store->cover_image) {{ $store->store_name }} @elseif($store->store_images && count($store->store_images) > 0) {{ $store->store_name }} @else
@endif
{{ $store->store_name ?: 'Unit ' . $store->unit_number }}
{{ $store->store_number ?: 'N/A' }} @if($store->tenantBusiness)
{{ $store->tenantBusiness->name }} @endif
Floor {{ $store->floor_number }}
Unit {{ $store->unit_number }}
{{ $store->store_area_sqft ? number_format($store->store_area_sqft) . ' sq ft' : 'N/A' }}
{{ ucfirst(str_replace('_', ' ', $store->store_category)) }}
@php $statusColors = [ 'operational' => 'success', 'coming_soon' => 'warning', 'temporarily_closed' => 'danger', 'permanently_closed' => 'secondary' ]; $statusColor = $statusColors[$store->occupancy_status] ?? 'secondary'; @endphp {{ ucfirst(str_replace('_', ' ', $store->occupancy_status)) }}
Edit
{{ $stores->links() }}
@else
No Stores Found

There are no stores in this mall yet.

Add Your First Store
@endif
@endsection @section('scripts')