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,113 @@
@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; }
</style>
<fieldset>
<legend>Filtros</legend>
<div class="row">
<div class="col-6">
<strong>Período:</strong>
</div>
<div class="col-6">
<strong>Unidade:</strong>
</div>
</div>
<div class="row">
<div class="col-6">
De {{ $inicio }} até {{ $fim }}
</div>
<div class="col-6">
{{ $unidade }}
</div>
</div>
<div class="row">
<div class="col-6">
<strong>Local de atendimento:</strong>
</div>
<div class="col-3">
<strong>Setor:</strong>
</div>
</div>
<div class="row">
<div class="col-6">
{{ $infraestrutura }}
</div>
<div class="col-3">
{{ $setor }}
</div>
</div>
<div class="row">
<div class="col-6">
<strong>Grupo:</strong>
</div>
<div class="col-6">
<strong>Subgrupo:</strong>
</div>
</div>
<div class="row">
<div class="col-6">
{{ $grupo }}
</div>
<div class="col-6">
{{ $subgrupo }}
</div>
</div>
<div class="row">
<div class="col-6">
<strong>Material:</strong>
</div>
</div>
<div class="row">
<div class="col-6">
{{ $material }}
</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
</tbody>
<tfoot>
<tr>
<th colspan="{{ $colunas->count() - 1 }}"></th>
<th>{{ $totalizadores['total'] }}</th>
</tr>
</tfoot>
</table>
@endsection