@php $user = auth()->user(); $wallet = $user?->wallet; @endphp
{{-- Mobile sidebar toggle --}} {{-- Page title — shown for full-height screens (e.g. the CRM inbox) that drop their own in-page header to reclaim vertical space. --}}
@if (request()->routeIs('admin.crm.inbox*', 'panel.crm.inbox*'))

{{ __('CRM Inbox') }}

@endif
{{-- Balance widget — hidden for platform staff: the admin buys nothing anywhere, so a wallet chip up here is noise (Jose, 2026-08-08). The reseller and every buyer DO prepay, so their shells keep it. --}} @if ($wallet && ! $user->isPlatformStaff())
{{ money($wallet->balance, $wallet->currency) }}
@endif {{-- Direct link to the public website. Comes from the panel (publicUrl), not url('/'), so it says the same thing as the Domains screen. --}} @php $siteUrl = current_panel()?->publicUrl() ?? url('/'); @endphp {{-- Language switcher — the rows come from the `languages` table (active only), so activating a language in Admin → Languages actually reaches the menu instead of leaving that screen decorative. --}}
@foreach (active_locales() as $code => $label) {{ $label }} @endforeach
{{-- Theme toggle --}} {{-- User menu --}}
{{-- Dropdown --}}
{{-- User info header --}}
{{-- View Profile --}} {{ __('View Profile') }}
{{-- Sign out --}}
@csrf