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,128 @@
@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>Classificação</strong>
<div>
{{ $classificacao }}
</div>
</div>
<div class="col-4">
<strong>Município</strong>
<div>
{{ $municipio }}
</div>
</div>
<div class="col-6">
<strong>Unidade</strong>
<div>
{{ $unidade }}
</div>
</div>
</div>
<div class="row">
<div class="col-3">
<strong>Bairro</strong>
<div>
{{ $bairro }}
</div>
</div>
<div class="col-3">
<strong>Tipo de logradouro</strong>
<div>
{{ $tipoLogradouro }}
</div>
</div>
<div class="col-6">
<strong>Logradouro</strong>
<div>
{{ $logradouro }}
</div>
</div>
</div>
<div class="row">
<div class="col-6">
<strong>Paciente</strong>
<div>
{{ $paciente }}
</div>
</div>
<div class="col-2">
<strong>Fora de área</strong>
<div>
{{ $foraArea }}
</div>
</div>
<div class="col-2">
<strong>Área</strong>
<div>
{{ $area }}
</div>
</div>
<div class="col-2">
<strong>Microárea</strong>
<div>
{{ $microarea }}
</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
@if($isModeloSintetico)
<tr>
@foreach ($colunas as $coluna)
<th class="{{ $coluna['class'] }}">{{ $totalizadores->{$coluna['key']} ?? '' }}</th>
@endforeach
</tr>
@endif
</tbody>
</table>
@endsection