@props(['collapsed' => false]) @php $user = auth()->user(); @endphp {{-- Dashboard --}} {{-- Tenant Section --}} @if(checkPermission('admin.tenants.view')) @endif {{-- Sales Section --}} @if (checkPermission(['admin.subscription.view', 'admin.invoices.view', 'admin.transactions.view'])) @if($user->is_admin === true && $user->user_type === 'admin') @endif @endif {{-- Plans Section --}} @if (checkPermission('admin.plans.view')) @endif {{-- Tickets --}} {{-- Whatsapp Webhook --}} @if($user->is_admin === true && $user->user_type === 'admin') @endif {{-- Settings Section --}} @if (checkPermission(['admin.payment_settings.view', 'admin.website_settings.view', 'admin.system_settings.view'])) {{-- Payment settings --}} {{-- System-settings --}} @endif {{-- Setup Button --}} {{-- Setup Button --}} {{-- Mobile Setup Menu Slot --}} @slot('mobileSetupMenu') @if ($user->is_admin === true && $user->user_type === 'admin') @endif @if (module_exists('Tickets') && module_enabled('Tickets')) @endif @if ($user->is_admin === true && $user->user_type === 'admin') @endif @if($user->is_admin === true && $user->user_type === 'admin') @endif @if (module_exists('LogViewer') && module_enabled('LogViewer') && $user->is_admin === true && $user->user_type === 'admin') @endif @if ($user->is_admin === true && $user->user_type === 'admin') @endif @endslot