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,126 @@
@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-1">
<strong>Ano</strong>
<div>
{{ $ano }}
</div>
</div>
<div class="col-1">
<strong>Mês</strong>
<div>
{{ $mes }}
</div>
</div>
<div class="col-4">
<strong>Módulo de origem</strong>
<div>
{{ $origem }}
</div>
</div>
<div class="col-6">
<strong>Unidade</strong>
<div>
{{ $unidade }}
</div>
</div>
</div>
<div class="row">
<div class="col-3">
<strong>Idade de</strong>
<div>
{{ $idadeDe }}
</div>
</div>
<div class="col-3">
<strong>Idade até</strong>
<div>
{{ $idadeAte }}
</div>
</div>
<div class="col-6">
<strong>CBO</strong>
<div>
{{ $ocupacao }}
</div>
</div>
</div>
<div class="row">
<div class="col-6">
<strong>Profissional</strong>
<div>
{{ $usuario }}
</div>
</div>
<div class="col-6">
<strong>Procedimento</strong>
<div>
{{ $procedimento }}
</div>
</div>
</div>
<div class="row">
<div class="col-3">
<strong>Status</strong>
<div>
{{ $status }}
</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 procedimentos: {{ $totalizadores->quantidade }}</th>
</tr>
</tbody>
</table>
@endsection