@php($srcImage = (!empty($ocorrencia->arquivos_ocorrencias) ? $ocorrencia->arquivos_ocorrencias[0]->arquivo : custom_system('API_URL') . '/' . $ocorrencia->subcategoria->imagem )) @php($srcDefault = (!empty($ocorrencia->arquivos_ocorrencias) ? false : true )) @php($rotoloBackGround = \App\Services\ControleColor::arrayColor[$ocorrencia->status_id]) @php($ocorrenciaStatus = \App\Models\Status::statusArray[$ocorrencia->status_id]) @php($bairro = (isset($ocorrencia->bairro->nome) ? $ocorrencia->bairro->nome : '-----------------')) @php($rua = (isset($ocorrencia->rua->nome) ? $ocorrencia->rua->nome : '-----------------')) @php($complemento = (!empty($ocorrencia->complemento) ? $ocorrencia->complemento : '-----------------')) @php($complementoExist = (!empty($ocorrencia->complemento) ? true : false)) @php($pontoReferencia = (!empty($ocorrencia->ponto_referencia) ? $ocorrencia->ponto_referencia : '-----------------')) @php($pontoReferenciaExist = (!empty($ocorrencia->ponto_referencia) ? true : false)) @php($latitude = null) @php($longitude = null) @php($typeMap = null) @if(!empty($ocorrencia->lat)) @php($latitude = $ocorrencia->lat) @php($longitude = $ocorrencia->long) @php($typeMap = 'MARKER') @else @if(!empty($ocorrencia->bairro->lat)) @php($latitude = $ocorrencia->bairro->lat) @php($longitude = $ocorrencia->bairro->lon) @php($typeMap = 'LOCATE') @endif @endif chat
{{ $ocorrencia->texto }}
{{ $ocorrenciaStatus }}
{{ \Carbon\Carbon::parse($historico->created_at)->format('d/m/Y') }}
{{ $ocorrenciaStatus }}
{{ \Carbon\Carbon::parse($historico->created_at)->format('d/m/Y') }}
@foreach($ocorrencia->acoes as $acao){{ $ocorrenciaStatus }}
{{ \Carbon\Carbon::parse($historico->created_at)->format('d/m/Y') }}
User_nome
{{ $ocorrencia->subcategoria->categoria->nome }}