@php $headerUser = auth()->user(); $headerUserName = trim((string) ($headerUser?->name ?? '')) ?: 'مدیر سامانه'; $headerCompanyName = trim((string) ($company?->company_name ?? '')) ?: 'فراجهش گلستان'; $headerUserInitial = mb_substr($headerUserName, 0, 1); $headerLogoPath = $company?->logo_path; $headerLogoUrl = $headerLogoPath && \Illuminate\Support\Facades\Storage::disk('public')->exists($headerLogoPath) ? '/storage/' . implode('/', array_map('rawurlencode', explode('/', ltrim($headerLogoPath, '/')))) : null; @endphp
امروز