@foreach ($clients as $client) @endforeach
# Tipo Documento Empresa Ações
#{{ $client->id }} {!! $client->tipo_pessoa_short !!} {{ $client->documento }} {{ $client->empresa }} Detalhes @if(\Auth::user()->hasPermission(\Permissions::CLIENT_INTERACTION_INDEX)) Interações @endif @shield('client.destroy') @php $acao = $client->ativo == 1 ? 'Excluir' : 'Recuperar'; $msg = 'Deseja ' . $acao . ' o cliente?'; @endphp {!! T::deleteBtn('clients.destroy', [$client->id, 'status' => $client->ativo == 1 ? 0 : 1], $msg, $acao, $acao) !!} @endshield