@extends('layouts.admin') @section('title', 'Businesses & Shops - ' . $mall->name) @section('content')
| Business Info | Owner & Contact | Location | Category | Status | Actions |
|---|---|---|---|---|---|
|
@if($shop->logo_image)
{{ $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(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