@php
$company = $row->apiKey?->company;
$user = $row->apiKey?->user;
@endphp
{{-- Company --}}
@if($company)
{{ \Illuminate\Support\Str::limit($company->name, 22) }}
@endif
{{-- User --}}
@if($user)
@if($user->hasMedia('avatar'))
) }})
@else
{{ strtoupper(substr($user->firstname ?? '', 0, 1)) }}{{ strtoupper(substr($user->lastname ?? '', 0, 1)) }}
@endif
{{ \Illuminate\Support\Str::limit($user->name_and_surname, 24) }}
@endif
@if(!$company && !$user)
-
@endif