@stack('styles')
{{ auth('restaurant')->user()->name ?? 'Restaurant' }}
Overview
Dashboard
Menu
Categories
Menu Items
Operations
Orders @php $pending = \App\Models\Order::where('restaurant_id', auth('restaurant')->id())->where('status', 'placed')->count(); @endphp @if ($pending > 0)
{{ $pending }}
@endif
Finance
Earnings
Withdrawals
Account
Profile / KYC
@yield('title', 'Dashboard')
@php $unread = auth('restaurant')->user()->unreadNotifications()->count(); @endphp @if ($unread > 0)
{{ $unread }}
@endif
@csrf
{{ auth('restaurant')->user()->name ?? '' }}
Logout
@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif @yield('content')
@stack('scripts')