@php $navHousehold = \App\Models\Employer::where('linked_parent_user_id', Auth::id())->whereNull('archived_at')->first() ?? Auth::user()->employers()->whereNull('archived_at')->first(); $firstName = trim(Auth::user()->first_name ?: (explode(' ', trim(Auth::user()->name))[0] ?? '')); $navProfileComplete = app(\App\Support\HouseholdProfileCompletion::class)->summary($navHousehold)['is_complete']; @endphp
@if ($backUrl ?? null) @endif naneasy