@if (Auth::user()->type == "client") {{ __('Organisation') }} @forelse($users as $user) @if ($user->color_code != null || $user->color_code != '') @php $color_co=$user->color_code; @endphp @else @php $color_co =Utility::rndRGBColorCode(); @endphp @endif @php $short=substr($user->name, 0, 1); @endphp @php $short_lname=substr($user->lname, 0, 1); @endphp @if (!empty($user->avatar)) @else {{ strtoupper($short) }}{{ strtoupper($short_lname) }} @endif @php $name=strlen($user->name) > 20 ? substr($user->name,0,19)."..." : $user->name; $lname=strlen($user->lname) > 20 ? substr($user->lname,0,19)."..." : $user->lname; @endphp {{ $name }} {{ $lname }} {{ucfirst($user->type)}} {{ __('Email') }} {{ __('Call') }} @empty {{ __('No Company Found!') }} @endforelse @else {{__('Welcome')}} {{\Auth::user()->name }}!