This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user