@if($ticket->responsible)
{{ $ticket->responsible->name }}
@else
@lang('Not assigned yet!')
@endif
@if(
(
auth()->user()->can('Update all tickets')
|| (
auth()->user()->can('Update own tickets')
&& (
$ticket->owner_id === auth()->user()
|| $ticket->responsible_id === auth()->user()->id
)
)
)
&& auth()->user()->can('assign-tickets')
)
@endif
@endif