{{ $type == 'shops' ? $obj->name : $obj->fullname}}
{{ $type == 'shops' && $obj->code ? 'cod.' .$obj->code : ''}}
@if($type == 'shops')
{{$obj->contact->address}}
@elseif($type == 'users' && $loop->first)
Titolare
@else
Collaboratore
@endif
@if(Auth::user()->hasRole('administrator'))
@if($type=='shops' && $obj->owner->id == Auth::user()->id)
@elseif($type =='users' && $shop->owner->id == Auth::user()->id)
@endif
@endif