@extends('layouts.admin') @section('title', 'Businesses & Shops - ' . $mall->name) @section('content')

{{ $mall->name }} - Businesses & Shops

Add New Business Back to Mall
Total Applications
{{ $stats['total_applications'] }}
Pending
{{ $stats['pending'] }}
Operational
{{ $stats['operational'] }}
Rejected
{{ $stats['rejected'] }}
Search & Filter Businesses
Business Applications & Shops
{{ $shops->count() }} {{ Str::plural('business', $shops->count()) }} found
@if($shops->count() > 0)
@foreach($shops as $shop) @endforeach
Business Info Owner & Contact Location Category Status Actions
@if($shop->logo_image) Logo @else
@endif
{{ $shop->store_name }}
{{ $shop->store_number ?: 'No store number' }} @if($shop->brand_name)
{{ $shop->brand_name }} @endif
{{ $shop->primary_contact_name }}
📧 {{ $shop->primary_contact_email }} 📞 {{ $shop->primary_contact_phone }} @if($shop->whatsapp_number) 💬 {{ $shop->whatsapp_number }} @endif
Floor {{ $shop->floor_number }}
Unit {{ $shop->unit_number }} @if($shop->store_area_sqft)
{{ number_format($shop->store_area_sqft) }} sq ft @endif
{{ ucfirst(str_replace('_', ' ', $shop->store_category ?? 'N/A')) }} @if($shop->business_type)
{{ ucfirst($shop->business_type) }} @endif
@php $statusColors = [ 'pending' => 'warning', 'approved' => 'success', 'rejected' => 'danger', 'suspended' => 'secondary' ]; $statusColor = $statusColors[$shop->registration_status] ?? 'secondary'; @endphp {{ ucfirst($shop->registration_status) }} @if($shop->occupancy_status)
{{ ucfirst(str_replace('_', ' ', $shop->occupancy_status)) }} @endif @if($shop->opening_date)
Opens: {{ $shop->opening_date->format('M d, Y') }} @endif
@if($shop->registration_status === 'pending') @endif
@else
No Businesses Found

@if(request()->hasAny(['search', 'status', 'floor', 'category'])) No businesses match your current filters. Try adjusting your search criteria. @else No businesses have been registered for this mall yet. @endif

Add First Business
@endif
@endsection @section('scripts') @endsection