• @php $user = auth()->user(); $name = $user->name; $words = explode(' ', trim($name)); if(count($words) == 1){ $initials = strtoupper(substr($words[0], 0, 1)); } else { $initials = strtoupper(substr($words[0], 0, 1) . substr($words[1], 0, 1)); } @endphp
    @if($user->image) @else
    {{ $initials }}
    @endif
    • @if($user->image) @else
      {{ $initials }}
      @endif
      {{auth()->user()->name}} {{auth()->user()->role}}
    • My Profile
    • {{--
    • --}} {{----}} {{----}} {{--Settings--}} {{----}} {{--
    • --}} {{--
    • --}} {{----}} {{----}} {{----}} {{--Billing--}} {{--4--}} {{----}} {{----}} {{--
    • --}}
    • Log Out
      @csrf