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,63 @@
<table>
<tr>
<td colspan="{{$columns->count()}}" style="text-align: center">
<strong>{{$title}}</strong>
</td>
</tr>
<tr>
<td><strong>Grupo</strong></td>
<td><strong>Subgrupo</strong></td>
<td><strong>Tipo de receita</strong></td>
<td><strong>Livro</strong></td>
</tr>
<tr>
<td>{{$grupo}}</td>
<td>{{$subgrupo}}</td>
<td>{{$receita_tipo}}</td>
<td>{{$livro}}</td>
</tr>
<tr>
<td><strong>Tipo de livro</strong></td>
<td><strong>Forma farmacêutica</strong></td>
<td colspan="2"><strong>Programas/Ações</strong></td>
</tr>
<tr>
<td>{{$livro_tipo}}</td>
<td>{{$forma_farmaceutica}}</td>
<td colspan="2">{{$programas_acoes}}</td>
</tr>
<tr>
<td colspan="4"><strong>Material</strong></td>
</tr>
<tr>
<td>{{$material}}</td>
</tr>
</table>
<table>
<thead>
<tr>
@foreach ($columns as $column)
<td>
<strong>{{$column['label']}}</strong>
</td>
@endforeach
</tr>
</thead>
<tbody>
@foreach($itens as $item)
<tr>
@foreach ($columns as $column)
<td>{{$item->{$column['key']} ?? '-'}}</td>
@endforeach
</tr>
@endforeach
</tbody>
</table>

View File

@@ -0,0 +1,74 @@
<table>
<tr>
<td style="text-align: center" colspan="{{ $colunas->count() }}">
<strong>{{ $title }}</strong>
</td>
</tr>
<tr>
<td><strong>Classificação</strong></td>
<td><strong>Município</strong></td>
<td colspan="3"><strong>Unidade</strong></td>
</tr>
<tr>
<td>{{ $classificacao }}</td>
<td>{{ $municipio }}</td>
<td colspan="3">{{ $unidade }}</td>
</tr>
<tr>
<td><strong>Bairro</strong></td>
<td><strong>Tipo de logradouro</strong></td>
<td colspan="3"><strong>Logradouro</strong></td>
</tr>
<tr>
<td>{{ $bairro }}</td>
<td>{{ $tipoLogradouro }}</td>
<td colspan="3">{{ $logradouro }}</td>
</tr>
<tr>
<td colspan="2"><strong>Paciente</strong></td>
<td><strong>Fora de área</strong></td>
<td><strong>Área</strong></td>
<td><strong>Microárea</strong></td>
</tr>
<tr>
<td colspan="2">{{ $paciente }}</td>
<td>{{ $foraArea }}</td>
<td>{{ $area }}</td>
<td>{{ $microarea }}</td>
</tr>
</table>
<table>
<thead>
<tr>
@foreach ($colunas as $coluna)
<th><strong>{{ $coluna['label'] }}</strong></th>
@endforeach
</tr>
</thead>
<tbody>
@foreach ($itens as $item)
<tr>
@foreach ($colunas as $coluna)
<td>{{ $item->{$coluna['key']} }}</td>
@endforeach
</tr>
@endforeach
@if($isModeloSintetico)
<tr>
@foreach ($colunas as $coluna)
<th><strong>{{ $totalizadores->{$coluna['key']} ?? '' }}</strong></th>
@endforeach
</tr>
@endif
</tbody>
</table>

View File

@@ -0,0 +1,64 @@
<table>
<tr>
<td style="text-align: center" colspan="{{ $colunas->count() }}">
<strong>{{ $title }}</strong>
</td>
</tr>
<tr>
<td><strong>Lotação principal</strong></td>
<td><strong>Unidade (Lotação)</strong></td>
<td><strong>Local de atendimento (Lotação)</strong></td>
</tr>
<tr>
<td>{{ $lotacaoPrincipal }}</td>
<td>{{ $unidade }}</td>
<td>{{ $infraestrutura }}</td>
</tr>
<tr>
<td><strong>CBO (Lotação)</strong></td>
<td><strong>Status</strong></td>
<td><strong>Sexo</strong></td>
</tr>
<tr>
<td>{{ $ocupacao }}</td>
<td>{{ $status }}</td>
<td>{{ $sexo }}</td>
</tr>
<tr>
<td><strong>Usuário</strong></td>
</tr>
<tr>
<td>{{ $usuario }}</td>
</tr>
</table>
<table>
<thead>
<tr>
@foreach ($colunas as $coluna)
<th><strong>{{ $coluna['label'] }}</strong></th>
@endforeach
</tr>
</thead>
<tbody>
@foreach ($itens as $item)
<tr>
@foreach ($colunas as $coluna)
<td>{{ $item->{$coluna['key']} ?? '-' }}</td>
@endforeach
</tr>
@endforeach
<tr>
<th colspan="{{ $colunas->count() }}" style="text-align: center;"><strong>Total de usuários: {{ $totalizadores->usuario }}</strong></th>
</tr>
</tbody>
</table>