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