@include('admin.partials.role-switcher') @php $role = auth()->user()->getActiveAdminRole(); $settingsMenuActive = (request()->is('admin/settings*') || request()->routeIs('admin.backup.index', 'admin.maintenance.index', 'admin.security.index', 'admin.emails.index', 'admin.api_management.index', 'admin.notifications.index')) && !request()->routeIs('admin.settings.theme*'); @endphp
Dashboard @if(in_array($role, ['admin', 'support']))
Intelligence
Users Vendors Verification Center @php $pendingKycUpdates = \App\Models\VendorKycUpdateRequest::pending()->count(); @endphp KYC Update Requests @if($pendingKycUpdates > 0) {{ $pendingKycUpdates }} @endif Logistics IQ @endif @if(in_array($role, ['admin', 'editor', 'support']))
Operations
@if(in_array($role, ['admin', 'editor'])) Products @php $pendingUpdatesCount = \App\Models\ProductUpdate::where('status', 'pending')->count(); @endphp Content Audit @if($pendingUpdatesCount > 0) {{ $pendingUpdatesCount }} @endif Categories Brands Variant Attributes @php $pendingPriceRequests = \App\Models\PriceChangeRequest::where('status', 'pending')->count(); @endphp Price Requests @if($pendingPriceRequests > 0) {{ $pendingPriceRequests }} @endif Variant Inventory Price History @php $pendingAffiliate = \App\Models\Product::where('listing_type', 'affiliate')->where('affiliate_status', 'pending')->count(); @endphp Affiliate Products @if($pendingAffiliate > 0) {{ $pendingAffiliate }} @endif Affiliate Reports @endif Orders @php $pendingReturnsCount = \App\Models\OrderReturnRequest::where('status', 'pending')->count(); @endphp Returns @if($pendingReturnsCount > 0) {{ $pendingReturnsCount }} @endif Shipping Analytics @php $pendingReviewsCount = \App\Models\Review::where('status', 0)->count(); @endphp Product Reviews @if($pendingReviewsCount > 0) {{ $pendingReviewsCount }} @endif @endif @if($role === 'admin')
Financials
Payouts Wallets Refunds Reports Product Analytics User Behavior IQ @endif @if(in_array($role, ['admin', 'editor']))
Marketing
Coupons SEO Policies @endif @if($role === 'admin')
Local Services
Services Marketplace Booking Service @endif @if($role === 'admin')
System
Platform Settings Theme Engine Shipping Zones Strategic Logs @endif
Concierge
Support Panel @php $openSupportTickets = \App\Models\SupportTicket::where('status', 'open')->count(); @endphp Support Desk @if($openSupportTickets > 0) {{ $openSupportTickets }} @endif @if($role === 'admin') @php $escalatedCount = \App\Models\SupportTicket::where('escalated_to_admin', true)->where('status', '!=', 'closed')->count(); @endphp Support Monitor @if($escalatedCount > 0) {{ $escalatedCount }} @endif @endif Help Center Conversation Matrix @php $pendingGchats = \App\Models\User::where('chat_enabled', false)->where('role', '!=', 'admin')->count(); @endphp Chat Approvals @if($pendingGchats > 0) {{ $pendingGchats }} @endif Chat Security