@php $user = auth()->user(); $currentPlan = $user?->wallet?->currentPlan; $profilePath = $user?->profile?->file_path ? url($user->profile->file_path) : url('images/profile.jpeg'); $displayName = trim(($user?->fname ?? '') . ' ' . ($user?->lname ?? '')) ?: __('مدیر'); @endphp