@extends('layouts.admin') @section('title', 'Supermarket Management') @section('content')

Supermarket Management

Manage supermarkets and their inventory

Total Supermarkets
{{ $stats['total_supermarkets'] }}
Delivery Enabled
{{ $stats['delivery_enabled'] }}
Total Products
{{ number_format($stats['total_products']) }}
Low Stock Alerts
{{ number_format($stats['low_stock_products']) }}
Supermarkets
@if(isset($owners) && count($owners) > 0) @endif
@if($supermarkets->count() > 0)
@foreach($supermarkets as $supermarket) @endforeach
Image Name Owner Location Store Size Features Status Actions
@if($supermarket->image) Image @else @endif
{{ $supermarket->name }}
{{ $supermarket->getBizspotCategoryPath() ?? 'No Category' }}
{{ $supermarket->user->name }}
{{ $supermarket->user->email }}
{{ Str::limit($supermarket->address, 30) }} @if($supermarket->supermarketDetail) {{ ucfirst($supermarket->supermarketDetail->store_size ?? 'Not Set') }} @else Not Set @endif @if($supermarket->supermarketDetail) @if($supermarket->supermarketDetail->delivery_available) Delivery
@endif @if($supermarket->supermarketDetail->open_24_hours) 24/7
@endif @endif
Active
{{ $supermarkets->links() }} @else
No Supermarkets Found

There are no supermarkets registered in the system yet.

@endif
@endsection