100 lines
2.2 KiB
PHP
100 lines
2.2 KiB
PHP
@extends('impressoes.layout1.content')
|
|
|
|
@section('conteudo')
|
|
<style>
|
|
.table-relatorio > thead > tr > th,
|
|
.table-relatorio > tfoot > tr > th { text-align: center; }
|
|
.col-min { width: 1%; }
|
|
.text-center { text-align: center !important; }
|
|
</style>
|
|
|
|
<fieldset>
|
|
<legend>Filtros</legend>
|
|
|
|
<div class="row">
|
|
<div class="col-2">
|
|
<strong>Lotação principal</strong>
|
|
|
|
<div>
|
|
{{ $lotacaoPrincipal }}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-5">
|
|
<strong>Unidade (Lotação)</strong>
|
|
|
|
<div>
|
|
{{ $unidade }}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-5">
|
|
<strong>Local de atendimento (Lotação)</strong>
|
|
|
|
<div>
|
|
{{ $infraestrutura }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-5">
|
|
<strong>CBO (Lotação)</strong>
|
|
|
|
<div>
|
|
{{ $ocupacao }}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-2">
|
|
<strong>Status</strong>
|
|
|
|
<div>
|
|
{{ $status }}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-5">
|
|
<strong>Sexo</strong>
|
|
|
|
<div>
|
|
{{ $sexo }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<strong>Usuário</strong>
|
|
|
|
<div>
|
|
{{ $usuario }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
|
|
<table class="table table-relatorio">
|
|
<thead>
|
|
<tr>
|
|
@foreach ($colunas as $coluna)
|
|
<th class="{{ $coluna['class'] }}">{{ $coluna['label'] }}</th>
|
|
@endforeach
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
@foreach ($itens as $item)
|
|
<tr>
|
|
@foreach ($colunas as $coluna)
|
|
<td class="{{ $coluna['class'] }}">{{ $item->{$coluna['key']} ?? '-' }}</td>
|
|
@endforeach
|
|
</tr>
|
|
@endforeach
|
|
|
|
<tr>
|
|
<th colspan="{{ $colunas->count() }}" style="text-align: center;">Total de usuários: {{ $totalizadores->usuario }}</th>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
@endsection |