@php($img = null) @if(isset($data->arquivos_ocorrencias[0]->arquivo)) @php($img = $data->arquivos_ocorrencias[0]->arquivo) @else @php($img = custom_system('API_URL') . '/' . $data->subcategoria->imagem) @endif
chat

{{ $data->texto }}

close
pageview {{ $data->visualizacoes }}
thumb_up {{ count($data->adesoes) }}
@php($statusCustom = session('configuration')['ocorrencia_status'])
beenhere {{ $statusCustom[$data->status_id -1]->nome }}
@if(!empty($data->nota))
@for($i = 0; $i < $data->nota; $i++) star @endfor
@endif
my_location Endereço:
{{ $data->bairro->nome }} - {{ $data->rua->nome ?? $data->rua_temporaria }} - {{ $data->numero }}
@if(!empty($data->complemento))
label

{{ $data->complemento }}

@endif @if(!empty($data->ponto_referencia))
label

{{ $data->ponto_referencia }}

@endif
vpn_key Protocolo:
{{ $data->codigo }}
gavel Órgão público:
{{ $data->subcategoria->categoria->nome }} - {{ $data->subcategoria->nome }} @if(!empty($data->unidade))
label

{{ $data->unidade->nome }}

@endif @if(!empty($data->cartao_sus))
label

{{ $data->cartao_sus }}

@endif
timeline Timeline:
@foreach($data->historicos as $history) @php($statusCustom = session('configuration')['ocorrencia_status']) @php($backGround = \App\Services\ControleColor::arrayNameColorStatus[$history->status_id])
{{ $history->status_id }}
{{ $statusCustom[$history->status_id - 1]->nome }} - {{ date_for_human($history->created_at) }} @if($history->status_id >= 3 and $history->status_id <= 5) @foreach($data->acoes as $actions)
@if($actions->pivot->concluido === 1) build @else access_time @endif

{{ $actions->nome }}

@endforeach @endif
@endforeach
chat
Chat
close
@forelse($data->comentario as $comment)
@if(!empty($comment->arquivo)) @endif

{{ $comment->texto }}

{{ date_for_human($comment->created_at) }}

@empty
sentiment_dissatisfied
Sem mensagens
@endforelse