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