@php $canSwitch ??= \App\Http\Controllers\Colleague\HomeController::canSwitch(); // slice 4الف: «مانده» and «گردش حساب» only when the seller lets this customer see them (پ۴-۵; absent, not disabled) $menu ??= \App\Http\Controllers\Colleague\AccountController::menu(app(\App\Tenancy\TenantManager::class)); @endphp
  • routeIs('mz.colleague.home')) aria-current="page" @endif>قیمت‌ها
  • {{-- slice 5ج۲ (decision 72): «معاملات من» is ALWAYS here, even with «دیدن گردش» off — it carries no balance figure --}}
  • routeIs('mz.colleague.trades')) aria-current="page" @endif>معاملات من
  • @if ($menu['balance'])
  • routeIs('mz.colleague.balance')) aria-current="page" @endif>مانده
  • @endif @if ($menu['statement'])
  • routeIs('mz.colleague.statement')) aria-current="page" @endif>گردش حساب
  • @endif @if ($canSwitch)
  • routeIs('mz.colleague.sellers')) aria-current="page" @endif>تغییر فروشنده
  • @endif {{-- slice 11 (flow ج۷ «نصب روی گوشی»): a menu line, never a floating bar over the prices; hidden inside the installed app --}}
  • routeIs('mz.install')) aria-current="page" @endif>نصب روی گوشی