@extends('admin.layouts.app') @section('title', 'Business Listings') @section('page-title', 'Business Listings') @section('content')

πŸͺ Business, Services & Trust Directory

Unified directory of verified commercial businesses, independent professionals & pandits, and religious & charitable trusts across sacred pilgrimage destinations.

πŸ“ Directory Categories 🏷️ Search Keywords 🧾 Vendor Plans & GST + Add New Listing
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif {{-- ============ KPI CARDS ============ --}}
πŸͺ
Total Listings {{ number_format($statusCounts['all'] ?? 0) }} All Directory Records
🟒
Published Live {{ number_format($statusCounts['published'] ?? 0) }} Live on Portal
πŸ“
Draft / Review {{ number_format($statusCounts['draft'] ?? 0) }} Awaiting Approval
⭐
Verified & Boosted {{ number_format($statusCounts['featured'] ?? 0) }} Featured Businesses
πŸ›‘οΈ
Verified Vendors {{ number_format($statusCounts['verified'] ?? 0) }} KYC & Phone Verified
{{-- ============ ALPINE ROOT & BULK MANAGER ============ --}}
{{-- ============ TOOLBAR ============ --}}
@if(isset($places) && $places->isNotEmpty()) @endif @if(isset($serviceCategories) && $serviceCategories->isNotEmpty()) @endif Reset
{{-- ============ FLOATING BULK BAR ============ --}}
Selected: businesses
@csrf
{{-- ============ TABLE ============ --}}
@forelse($rows as $row) @php $rowNo = ($rows->currentPage() - 1) * $rows->perPage() + $loop->iteration; @endphp @empty @endforelse
# Business Sacred Place Category Phone / Contact Status Verification Actions
{{ $rowNo }}
@if($row->logo || $row->featured_image) @else
πŸͺ
@endif
{{ $row->name }} @if(($row->entity_type ?? 'business') === 'trust') πŸ›οΈ Trust @elseif($row->entity_type === 'self_employed') πŸ‘€ Self-Employed @else 🏒 Business @endif @if($row->is_featured) Featured @endif @if($row->is_demo) Demo @endif
/{{ $row->slug }} @if(($row->services_count ?? 0) > 0) πŸ› οΈ {{ $row->services_count }} {{ Str::plural('Service', $row->services_count) }} @endif @if(($row->products_count ?? 0) > 0) πŸ“¦ {{ $row->products_count }} {{ Str::plural('Product', $row->products_count) }} @endif
{{ $row->place?->name ?? 'β€”' }}
{{ $row->masterKeyword?->keyword ?: ($row->serviceCategory?->name ?: ($row->productCategory?->name ?: 'General')) }}
@if(!empty($row->sub_keywords))
@foreach(array_slice($row->sub_keywords, 0, 3) as $sk) {{ $sk }} @endforeach @if(count($row->sub_keywords) > 3) +{{ count($row->sub_keywords) - 3 }} @endif
@endif
{{ $row->phone ?? 'β€”' }} @if($row->status === 'published' && $row->is_active) Published @else Draft @endif @if($row->verification_status === 'verified') βœ“ Verified @else Unverified @endif
{{-- 1. Public Preview --}} πŸ‘οΈ {{-- 2. Print Counter QR Standee --}} πŸ–¨οΈ {{-- 3. Edit & Services/Products/Gallery Tabs --}} ✏️ {{-- 4. Quick Status Toggle --}}
@csrf
{{-- 5. Delete --}}
@csrf @method('DELETE')
πŸͺ

No Business Listings Found

No listings match your current search or filter criteria.

+ Add First Business
{{-- ============ PAGINATION ============ --}}
Showing {{ $rows->firstItem() ?? 0 }} to {{ $rows->lastItem() ?? 0 }} of {{ $rows->total() }} businesses
{{ $rows->links() }}
@endsection