@extends('layouts.admin') @section('title', 'All Shops - Unified View') @section('content')

All Shops

Unified view of shops, market stalls, mall stores, and vendors

Add New Shop
Total Entities
{{ number_format($stats['total']) }}
Independent Shops
{{ number_format($stats['independent_shops']) }}
Market Stalls
{{ number_format($stats['market_stalls']) }}
Mall Stores
{{ number_format($stats['mall_stores']) }}
Vendors
{{ number_format($stats['independent_vendors']) }}
Total Products
{{ number_format($stats['total_products']) }}
Filter Shop-like Entities
All Shop-like Entities ({{ number_format($total) }} items)
@if($shops->count() > 0)
@foreach($shops as $shop) @endforeach
Entity Name Source Type Container Owner Bizspot Category Contact Status Products Services Created Actions
{{ $shop['name'] }}
{{ Str::limit($shop['address'], 40) }}
{{ $shop['source'] }} @if($shop['container_name']) {{ $shop['container_name'] }} @else Independent @endif {{ $shop['owner'] }} {{ $shop['bizspot_type'] }}
{{ $shop['bizspot_main_category'] }}
@if($shop['bizspot_sub_category'] !== 'N/A') {{ $shop['bizspot_sub_category'] }} @endif
@if($shop['phone'] !== 'N/A') {{ $shop['phone'] }}
@endif @if($shop['email'] !== 'N/A') {{ $shop['email'] }} @endif
{{ $shop['status'] }} @if($shop['products_count'] > 0) {{ $shop['products_count'] }} products @else No products @endif @if($shop['services_count'] > 0) {{ $shop['services_count'] }} services @else No services @endif {{ \Carbon\Carbon::parse($shop['created_at'])->format('M d, Y') }}
@if($shop['view_url'] !== '#') @endif @if($shop['edit_url'] !== '#') @endif
Showing {{ ($page - 1) * $perPage + 1 }} to {{ min($page * $perPage, $total) }} of {{ number_format($total) }} results
@if($page > 1) Previous @endif @if($page * $perPage < $total) Next @endif
@else
No shop-like entities found

Try adjusting your search criteria or add some shops.

@endif
@endsection