@extends('layouts.restaurant') @php $currencySymbol = App\Models\AppSetting::getValue('currency_symbol', '?'); $currencyDecimals = App\Models\AppSetting::currencyDecimals(); @endphp @section('title', 'My Stores') @section('content')
Currently Active: {{ $currentRestaurant ? $currentRestaurant->name : 'No store selected' }}
@if($currentRestaurant)
{{ $currentRestaurant->is_open ? 'Online' : 'Offline' }}
@endif
@forelse($restaurants as $restaurant)
{{ $restaurant->name }}
{{ $restaurant->city }}, {{ $restaurant->state }}
Total Orders
{{ number_format($restaurant->delivered_orders_count ?? 0) }}
Revenue ({{ $currencySymbol }})
{{ $currencySymbol }}{{ number_format((float) ($restaurant->delivered_revenue ?? 0), $currencyDecimals) }}
@if($restaurant->is_verified) Verified @else Pending Approval @endif
@if($restaurant->id == ($currentRestaurant->id ?? null)) Active @endif
@if(!$restaurant->is_verified)
This store is pending admin approval. Some features are limited.
@endif
@empty
No Stores Added Yet

Click the button above to add your first store

Add Restaurant
@endforelse
Quick Tips
Admin Approval Required
New stores need approval before going live
Switch Between Stores
Use the dropdown to switch between your stores
Manage Each Store Separately
Menu, orders, and settings are store-specific
@endsection