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

{{ $mall->name }}

Total Stores
{{ $storeStats['total'] ?? 0 }}
Operational Stores
{{ $storeStats['operational'] ?? 0 }}
Vacant Stores
{{ $storeStats['vacant'] ?? 0 }}
Upcoming Events
{{ $eventStats['upcoming'] ?? 0 }}
Mall Information
Basic Details
@if($mall->mallDetail)

Mall Type: {{ ucfirst(str_replace('_', ' ', $mall->mallDetail->mall_type ?? 'N/A')) }}

Category: {{ ucfirst($mall->mallDetail->mall_category ?? 'N/A') }}

Total Floors: {{ $mall->mallDetail->total_floors ?? 'N/A' }}

Total Area: {{ $mall->mallDetail->total_area_sqft ? number_format($mall->mallDetail->total_area_sqft) . ' sq ft' : 'N/A' }}

Retail Area: {{ $mall->mallDetail->retail_area_sqft ? number_format($mall->mallDetail->retail_area_sqft) . ' sq ft' : 'N/A' }}

Common Area: {{ $mall->mallDetail->common_area_sqft ? number_format($mall->mallDetail->common_area_sqft) . ' sq ft' : 'N/A' }}

@else

Mall details not available

@endif
Operating Hours
@if($mall->mallDetail)

Opening Time: {{ $mall->mallDetail->opening_time ? \Carbon\Carbon::parse($mall->mallDetail->opening_time)->format('g:i A') : 'N/A' }}

Closing Time: {{ $mall->mallDetail->closing_time ? \Carbon\Carbon::parse($mall->mallDetail->closing_time)->format('g:i A') : 'N/A' }}

Open Sundays: {{ $mall->mallDetail->open_sundays ? 'Yes' : 'No' }}

Manager Information

Manager: {{ $mall->mallDetail->mall_manager_name ?? 'N/A' }}

Phone: {{ $mall->mallDetail->mall_manager_phone ?? 'N/A' }}

Email: {{ $mall->mallDetail->mall_manager_email ?? 'N/A' }}

@else

Operating hours not available

@endif

Business Information

Address: {{ $mall->address }}

Phone: {{ $mall->phone }}

Email: {{ $mall->email }}

@if($mall->website)

Website: {{ $mall->website }}

@endif

Description: {{ $mall->description }}

Owner: {{ $mall->user->name ?? 'N/A' }}

Category: {{ $mall->getBizspotCategoryPath() ?? 'N/A' }}

@if($mall->mallDetail)
Facilities & Amenities
Core Facilities
    @if($mall->mallDetail->food_court)
  • Food Court
  • @endif @if($mall->mallDetail->cinema)
  • Cinema
  • @endif @if($mall->mallDetail->fitness_center)
  • Fitness Center
  • @endif @if($mall->mallDetail->spa_services)
  • Spa Services
  • @endif @if($mall->mallDetail->bank_atm)
  • Bank/ATM
  • @endif @if($mall->mallDetail->pharmacy)
  • Pharmacy
  • @endif
Customer Services
    @if($mall->mallDetail->wifi_available)
  • WiFi Available
  • @endif @if($mall->mallDetail->customer_service_desk)
  • Customer Service Desk
  • @endif @if($mall->mallDetail->wheelchair_accessible)
  • Wheelchair Accessible
  • @endif @if($mall->mallDetail->family_restrooms)
  • Family Restrooms
  • @endif @if($mall->mallDetail->nursing_room)
  • Nursing Room
  • @endif @if($mall->mallDetail->gift_wrapping)
  • Gift Wrapping
  • @endif
@endif
@if($mall->mallDetail)
Performance Metrics

Occupancy Rate: {{ $mall->mallDetail->occupancy_rate ? number_format($mall->mallDetail->occupancy_rate, 1) . '%' : 'N/A' }}

Daily Visitors: {{ $mall->mallDetail->average_daily_visitors ? number_format($mall->mallDetail->average_daily_visitors) : 'N/A' }}

@if($mall->mallDetail->peak_season_visitors)

Peak Season: {{ number_format($mall->mallDetail->peak_season_visitors) }}

@endif @if($mall->mallDetail->revenue_per_sqft)

Revenue/Sq Ft: ${{ number_format($mall->mallDetail->revenue_per_sqft, 2) }}

@endif @if($mall->mallDetail->customer_satisfaction_rating)

Satisfaction: {{ $mall->mallDetail->customer_satisfaction_rating }}/5.0

@endif
Parking Information

Total Spaces: {{ $mall->mallDetail->total_parking_spaces ? number_format($mall->mallDetail->total_parking_spaces) : 'N/A' }}

@if($mall->mallDetail->vip_parking_spaces)

VIP Spaces: {{ number_format($mall->mallDetail->vip_parking_spaces) }}

@endif

Covered Parking: {{ $mall->mallDetail->covered_parking ? 'Yes' : 'No' }}

Valet Parking: {{ $mall->mallDetail->valet_parking ? 'Yes' : 'No' }}

EV Charging: {{ $mall->mallDetail->electric_vehicle_charging ? 'Yes' : 'No' }}

Financial Information
@if($mall->mallDetail->base_rent_per_sqft)

Base Rent: ${{ number_format($mall->mallDetail->base_rent_per_sqft, 2) }}/sq ft

@endif @if($mall->mallDetail->percentage_rent_rate)

Percentage Rent: {{ $mall->mallDetail->percentage_rent_rate }}%

@endif @if($mall->mallDetail->common_area_maintenance)

CAM Charges: ${{ number_format($mall->mallDetail->common_area_maintenance, 2) }}/sq ft

@endif @if($mall->mallDetail->annual_revenue)

Annual Revenue: ${{ number_format($mall->mallDetail->annual_revenue) }}

@endif @if(!$mall->mallDetail->base_rent_per_sqft && !$mall->mallDetail->percentage_rent_rate && !$mall->mallDetail->common_area_maintenance && !$mall->mallDetail->annual_revenue)

Financial information not available

@endif
@else
Performance & Financial Info

Mall details not available

@endif
Recent Stores
View All
@if($mall->mallStores && $mall->mallStores->count() > 0)
@foreach($mall->mallStores->take(5) as $store) @endforeach
Store Name Category Floor Status
{{ $store->store_name ?: 'Unit ' . $store->unit_number }} {{ $store->store_category ? ucfirst(str_replace('_', ' ', $store->store_category)) : 'N/A' }} {{ $store->floor_number }} @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)) }}
@else

No stores found.

@endif
Upcoming Events
View All
@if($mall->mallEvents && $mall->mallEvents->where('start_datetime', '>', now())->count() > 0)
@foreach($mall->mallEvents->where('start_datetime', '>', now())->take(5) as $event) @endforeach
Event Name Date Location Status
{{ $event->event_name }} {{ \Carbon\Carbon::parse($event->start_datetime)->format('M j, Y') }} {{ $event->event_location }} {{ ucfirst($event->event_status) }}
@else

No upcoming events found.

@endif
@endsection