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,67 @@
<table>
<tr>
<td style="text-align: center" colspan="4">
<strong>{{ $title }}</strong>
</td>
</tr>
<tr>
<td><strong>Ano</strong></td>
<td><strong>Mês</strong></td>
<td><strong>Unidade</strong></td>
</tr>
<tr>
<td style="text-align: left;">{{ $ano }}</td>
<td>{{ $mes }}</td>
<td>{{ $unidade }}</td>
</tr>
<tr>
<td colspan="2"><strong>Local de atendimento</strong></td>
<td><strong>Equipe</strong></td>
</tr>
<tr>
<td colspan="2">{{ $infraestrutura }}</td>
<td>{{ $equipe }}</td>
</tr>
</table>
@foreach ($resultado as $key => $data)
<table class="table table-relatorio" style="{{ $key !== 'levantamento_quantitativo' ? 'margin-top: 15px;' : '' }}">
<thead>
<tr>
<th colspan="{{ isset($data['itens'][0]['percentual']) ? 3 : 2 }}" style="text-align: center"><strong>{{ $data['titulo'] }}</strong></th>
</tr>
<tr>
<th style="text-align: center"><strong>Quantitativo</strong></th>
<th style="text-align: center"><strong>Quantidade</strong></th>
@isset($data['itens'][0]['percentual'])
<th style="text-align: center"><strong>%</strong></th>
@endisset
</tr>
</thead>
<tbody>
@foreach ($data['itens'] as $item)
<tr>
<td>{{ $item['descricao'] }}</td>
<td style="text-align: center">{{ $item['quantidade'] }}</td>
@isset($item['percentual'])
<td style="text-align: center">{{ $item['percentual'] }}</td>
@endisset
</tr>
@endforeach
@isset($data['rodape'])
<tr>
<th colspan="{{ isset($data['itens'][0]['percentual']) ? 3 : 2 }}">{{ $data['rodape'] }}</th>
</tr>
@endisset
</tbody>
</table>
@endforeach