@php $companyLogo = null; $companyName = 'Sulis-PMS'; // Default fallback if (auth()->check() && auth()->user()->company) { $companyLogo = auth()->user()->company->CompanyLogo; $fullCompanyName = auth()->user()->company->CompanyName ?? 'Sulis-PMS'; // Create short form: Take first letter of each word, limit to 4 letters max $words = explode(' ', $fullCompanyName); $acronym = ''; foreach ($words as $word) { if (!empty($word) && strlen($word) > 0) { $acronym .= strtoupper(substr($word, 0, 1)); if (strlen($acronym) >= 4) break; // Limit to 4 characters } } $companyName = $acronym . '-PMS'; } @endphp Company Logo {{ Str::limit($companyName, 15) }}
SULIS-PMS Property Management System

© {{ date('Y') }} Sulis Technologies