init commit
All checks were successful
build-api-image / build (push) Successful in 51s

This commit is contained in:
Antonio Lopes dos Santos
2026-08-04 16:52:02 -03:00
commit afec302c3e
11594 changed files with 1636728 additions and 0 deletions

View File

@@ -0,0 +1,109 @@
<table>
<tr>
<td style="text-align: center" colspan="10">
<strong>{{$title}}</strong>
</td>
</tr>
<tr>
<td><strong>Período</strong></td>
<td><strong>Unidade</strong></td>
</tr>
<tr>
<td>De {{$periodo['inicio']}} até {{$periodo['fim']}}</td>
<td>{{$unidade}}</td>
</tr>
<tr>
<td><strong>Local de atendimento</strong></td>
<td><strong>Área</strong></td>
<td><strong>Microarea</strong></td>
</tr>
<tr>
<td>{{$infraestrutura}}</td>
<td>{{$area}}</td>
<td>{{$microarea}}</td>
</tr>
<tr>
<td><strong>Agente responsável</strong></td>
<td><strong>Paciente</strong></td>
</tr>
<tr>
<td>{{$usuario}}</td>
<td>{{$paciente}}</td>
</tr>
<tr>
<td><strong>Logradouro</strong></td>
<td><strong>Número do logradouro</strong></td>
<td><strong>Desfecho</strong></td>
</tr>
<tr>
<td>{{$domicilio}}</td>
<td>{{$endereco_numero}}</td>
<td>{{$desfecho}}</td>
</tr>
</table>
<table>
<thead>
<tr>
<th>Data</th>
<th>Paciente</th>
<th>Prontuário</th>
<th>Endereço completo</th>
<th>Agente responsável</th>
<th>Área</th>
<th>Microarea</th>
<th>Residentes</th>
<th>Responsável familiar</th>
<th>Desfecho</th>
</tr>
</thead>
<tbody>
@foreach($data['itens'] as $item)
<tr>
<td>{{ \Carbon\Carbon::parse($item->data)->format('d/m/Y') }}</td>
<td>{{$item->paciente_nome}}</td>
<td>{{$item->paciente_prontuario}}</td>
<td>{{$item->paciente_endereco}}</td>
<td>{{$item->usuario_nome}}</td>
<td>{{$item->area_descricao}}</td>
<td>{{$item->microarea_descricao}}</td>
<td>{{$item->residentes}}</td>
<td>{{$item->responsavel_familiar}}</td>
<td>{{$item->desfecho_descricao}}</td>
</tr>
@endforeach
</tbody>
</table>
<table>
<tr>
<td style="text-align: center" colspan="5">
<strong>Totais</strong>
</td>
</tr>
<tr>
<td><strong>Total de visitas realizadas</strong></td>
<td><strong>Total de ausências</strong></td>
<td><strong>Total de recusas</strong></td>
<td><strong>Total de visitas registradas</strong></td>
<td><strong>Total de pacientes atendidos</strong></td>
</tr>
<tr>
<td>{{$data['totalizadores']['quantidade_visitas_realizadas']}}</td>
<td>{{$data['totalizadores']['quantidade_ausencias']}}</td>
<td>{{$data['totalizadores']['quantidade_recusas']}}</td>
<td>{{$data['totalizadores']['quantidade_visitas_registradas']}}</td>
<td>{{$data['totalizadores']['quantidade_pacientes_atendidos']}}</td>
</tr>
</table>