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,75 @@
<table>
<tr>
<td style="text-align: center" colspan="{{ count($params['columns']) }}">
RELATÓRIO DE CLASSIFICAÇÃO DE RISCO
</td>
</tr>
<tr>
<td>
<strong>Período de:</strong>
</td>
<td>
<strong>Até: </strong>
</td>
<td>
<strong>Classificação de risco:</strong>
</td>
</tr>
<tr>
<td>
{{ $params['periodo']['date']['start'] }}
</td>
<td>
{{ $params['periodo']['date']['end'] }}
</td>
<td>
{{ $params['classificacao_risco'] }}
</td>
</tr>
<tr>
<td>
<strong>Unidade:</strong>
</td>
<td colspan="2">
<strong>Local de atendimento:</strong>
</td>
</tr>
<tr>
<td>
{{ $params['unidade'] }}
</td>
<td colspan="2">
{{ $params['local_atendimento'] }}
</td>
</tr>
</table>
<table>
<thead>
<tr>
@foreach($params['columns'] as $coluna)
<th><strong>{{ $coluna['label'] }}</strong></th>
@endforeach
</tr>
</thead>
<tbody>
@foreach ($classificacoes_risco['classificacoes_risco'] as $classificacaoRisco)
<tr>
@foreach($params['columns'] as $coluna)
<td>{{ $classificacaoRisco[$coluna['key']] }}</td>
@endforeach
</tr>
@endforeach
<tr>
<td colspan="{{ count($params['columns']) - 1 }}" style="text-align: right">
<strong>Total Geral</strong>
</td>
<td>
{{ $classificacoes_risco['total_geral'] }}
</td>
</tr>
</tbody>
</table>