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,117 @@
<table>
<tr>
<td style="text-align: center" colspan="{{ $colunas->count() }}">
<strong>{{ $title }}</strong>
</td>
</tr>
<tr>
<td>
<strong>Período:</strong>
</td>
<td>
<strong>Unidade:</strong>
</td>
</tr>
<tr>
<td>
De {{ $inicio }} até {{ $fim }}
</td>
<td>
{{ $unidade }}
</td>
</tr>
<tr>
<td>
<strong>Local de atendimento:</strong>
</td>
<td>
<strong>Setor:</strong>
</td>
</tr>
<tr>
<td>
{{ $infraestrutura }}
</td>
<td>
{{ $setor }}
</td>
</tr>
<tr>
<td>
<strong>Grupo:</strong>
</td>
<td>
<strong>Subgrupo:</strong>
</td>
</tr>
<tr>
<td>
{{ $grupo }}
</td>
<td>
{{ $subgrupo }}
</td>
</tr>
<tr>
<td>
<strong>Material:</strong>
</td>
<td>
<strong>Tipo de Documento:</strong>
</td>
</tr>
<tr>
<td>
{{ $material }}
</td>
<td>
{{ $tipo_documento }}
</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
</tbody>
<tfoot>
<tr>
<th colspan="{{ $colunas->count() - 2 }}"></th>
<th>{{ $totalizadores['total'] }}</th>
</tr>
</tfoot>
</table>

View File

@@ -0,0 +1,149 @@
<table>
<tr>
<td style="text-align: center" colspan="{{ $colunas->count() }}">
<strong>{{ $title }}</strong>
</td>
</tr>
<tr>
<td>
<strong>Período:</strong>
</td>
<td>
<strong>Unidade:</strong>
</td>
</tr>
<tr>
<td>
De {{ $inicio }} até {{ $fim }}
</td>
<td>
{{ $unidade }}
</td>
</tr>
<tr>
<td>
<strong>Local de atendimento:</strong>
</td>
<td>
<strong>Setor:</strong>
</td>
</tr>
<tr>
<td>
{{ $infraestrutura }}
</td>
<td>
{{ $setor }}
</td>
</tr>
<tr>
<td>
<strong>Grupo:</strong>
</td>
<td>
<strong>Subgrupo:</strong>
</td>
</tr>
<tr>
<td>
{{ $grupo }}
</td>
<td>
{{ $subgrupo }}
</td>
</tr>
<tr>
<td>
<strong>Fornecedor:</strong>
</td>
<td>
<strong>Tipo de Documento:</strong>
</td>
<td>
<strong>Número do Documento:</strong>
</td>
</tr>
<tr>
<td>
{{ $fornecedor }}
</td>
<td>
{{ $tipo_documento }}
</td>
<td>
{{ $numero_documento }}
</td>
</tr>
<tr>
<td>
<strong>Material:</strong>
</td>
<td>
<strong>Tipo de Entrada:</strong>
</td>
</tr>
<tr>
<td>
{{ $material }}
</td>
<td>
{{ $tipo_entrada }}
</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
</tbody>
<tfoot>
<tr>
<th colspan="{{ $colunas->count() - 1 }}"></th>
<th>
<strong>{{ $totalizadores['total'] }}</strong>
</th>
</tr>
</tfoot>
</table>

View File

@@ -0,0 +1,118 @@
<table>
<tr>
<td style="text-align: center" colspan="{{ $colunas->count() }}">
<strong>{{ $title }}</strong>
</td>
</tr>
<tr>
<td>
<strong>Período:</strong>
</td>
<td>
<strong>Unidade:</strong>
</td>
</tr>
<tr>
<td>
De {{ $inicio }} até {{ $fim }}
</td>
<td>
{{ $unidade }}
</td>
</tr>
<tr>
<td>
<strong>Local de atendimento:</strong>
</td>
<td>
<strong>Setor:</strong>
</td>
</tr>
<tr>
<td>
{{ $infraestrutura }}
</td>
<td>
{{ $setor }}
</td>
</tr>
<tr>
<td>
<strong>Fornecedor:</strong>
</td>
<td>
<strong>Grupo:</strong>
</td>
</tr>
<tr>
<td>
{{ $fornecedor }}
</td>
<td>
{{ $grupo }}
</td>
</tr>
<tr>
<td>
<strong>Subgrupo:</strong>
</td>
<td>
<strong>Material:</strong>
</td>
</tr>
<tr>
<td>
{{ $subgrupo }}
</td>
<td>
{{ $material }}
</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
</tbody>
<tfoot>
<tr>
<th colspan="{{ $colunas->count() - 1 }}"></th>
<th>
<strong>{{ $totalizadores->quantidade }}</strong>
</th>
</tr>
</tfoot>
</table>

View File

@@ -0,0 +1,126 @@
<table>
<tr>
<td style="text-align: center" colspan="{{ $colunas->count() }}">
<strong>{{ $title }}</strong>
</td>
</tr>
<tr>
<td>
<strong>Período:</strong>
</td>
<td>
<strong>Unidade:</strong>
</td>
</tr>
<tr>
<td>
De {{ $inicio }} até {{ $fim }}
</td>
<td>
{{ $unidade }}
</td>
</tr>
<tr>
<td>
<strong>Local de atendimento:</strong>
</td>
<td>
<strong>Setor:</strong>
</td>
<td>
<strong>Tipo de saída:</strong>
</td>
</tr>
<tr>
<td>
{{ $infraestrutura }}
</td>
<td>
{{ $setor }}
</td>
<td>
{{ $tipoSaida }}
</td>
</tr>
<tr>
<td>
<strong>Usuário requisitante:</strong>
</td>
<td>
<strong>Grupo:</strong>
</td>
</tr>
<tr>
<td>
{{ $usuarioRequisitante }}
</td>
<td>
{{ $grupo }}
</td>
</tr>
<tr>
<td>
<strong>Subgrupo:</strong>
</td>
<td>
<strong>Material:</strong>
</td>
</tr>
<tr>
<td>
{{ $subgrupo }}
</td>
<td>
{{ $material }}
</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
</tbody>
<tfoot>
<tr>
<th colspan="{{ $colunas->count() - 1 }}"></th>
<th>
<strong>{{ $totalizadores->quantidade }}</strong>
</th>
</tr>
</tfoot>
</table>

View File

@@ -0,0 +1,71 @@
<table>
<tr>
<td style="text-align: center" colspan="{{$colunas->count()}}">
<strong>{{$title}}</strong>
</td>
</tr>
<tr>
<td><strong>Período:</strong></td>
<td><strong>Tipo de movimentação:</strong></td>
<td><strong>Subtipo de movimentação:</strong></td>
</tr>
<tr>
<td>De {{$periodo['start']}} até {{$periodo['end']}}</td>
<td>{{$movimentacao_tipo}}</td>
<td>{{$movimentacao_subtipo}}</td>
</tr>
<tr>
<td><strong>Unidade:</strong></td>
<td><strong>Local de atendimento:</strong></td>
</tr>
<tr>
<td>{{$unidade}}</td>
<td>{{$infraestrutura}}</td>
</tr>
<tr>
<td><strong>Setor:</strong></td>
<td><strong>Usuário:</strong></td>
</tr>
<tr>
<td>{{$setor}}</td>
<td>{{$usuario}}</td>
</tr>
<tr>
<td><strong>Origem programática:</strong></td>
<td><strong>Material:</strong></td>
</tr>
<tr>
<td>{{$origem_programatica}}</td>
<td>{{$material}}</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
</tbody>
</table>

View File

@@ -0,0 +1,117 @@
<table>
<tr>
<td style="text-align: center" colspan="{{ $colunas->count() }}">
<strong>{{ $title }}</strong>
</td>
</tr>
<tr>
<td>
<strong>Unidade:</strong>
</td>
<td>
<strong>Local de atendimento:</strong>
</td>
</tr>
<tr>
<td>
{{ $unidade_nome_fantasia }}
</td>
<td>
{{ $infraestrutura_nome }}
</td>
</tr>
<tr>
<td>
<strong>Setor:</strong>
</td>
<td>
<strong>Grupo:</strong>
</td>
</tr>
<tr>
<td>
{{ $setor_nome }}
</td>
<td>
{{ $grupo_nome }}
</td>
</tr>
<tr>
<td>
<strong>Subgrupo:</strong>
</td>
<td>
<strong>Material:</strong>
</td>
</tr>
<tr>
<td>
{{ $subgrupo_nome }}
</td>
<td>
{{ $material_descricao }}
</td>
</tr>
<tr>
<td>
<strong>Status:</strong>
</td>
</tr>
<tr>
<td>
{{ $status }}
</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)
@if (in_array($coluna['key'], ['lote', 'validade_lote', 'quantidade']))
<td>
@foreach ($item->lotes as $lote)
{{ $lote->{$coluna['key']} }}<br/>
@endforeach
</td>
@elseif ($coluna['key'] == 'status')
<td style="
{{ $item->status['value'] == 'abaixo_minimo' ? 'color: #dc3545;' : '' }}
{{ $item->status['value'] == 'normal' ? 'color: #28a745;' : '' }}
{{ $item->status['value'] == 'acima_maximo' ? 'color: #ffc107;' : '' }}
">
{{ $item->status['text'] ?? '-' }}
</td>
@else
<td>{{ $item->{$coluna['key']} ?? '-' }}</td>
@endif
@endforeach
</tr>
@endforeach
</tbody>
</table>

View File

@@ -0,0 +1,155 @@
<table>
<tr>
<td style="text-align: center" colspan="{{ $colunas->count() }}">
<strong>{{ $title }}</strong>
</td>
</tr>
<tr>
<td>
<strong>Período:</strong>
</td>
<td>
<strong>Unidade (Almoxarifado):</strong>
</td>
</tr>
<tr>
<td>
De {{ $inicio }} até {{ $fim }}
</td>
<td>
{{ $unidade }}
</td>
</tr>
<tr>
<td>
<strong>Local de atendimento (Almoxarifado):</strong>
</td>
<td>
<strong>Setor (Almoxarifado):</strong>
</td>
</tr>
<tr>
<td>
{{ $infraestrutura }}
</td>
<td>
{{ $setor }}
</td>
</tr>
<tr>
<td>
<strong>Unidade requisitante:</strong>
</td>
<td>
<strong>Local de atendimento requisitante:</strong>
</td>
</tr>
<tr>
<td>
{{ $unidadeRequisitante }}
</td>
<td>
{{ $infraestruturaRequisitante }}
</td>
</tr>
<tr>
<td>
<strong>Setor requisitante:</strong>
</td>
<td>
<strong>Usuário requisitante:</strong>
</td>
</tr>
<tr>
<td>
{{ $setorRequisitante }}
</td>
<td>
{{ $usuarioRequisitante }}
</td>
</tr>
<tr>
<td>
<strong>Status:</strong>
</td>
<td>
<strong>Número:</strong>
</td>
<td>
<strong>Grupo:</strong>
</td>
</tr>
<tr>
<td>
{{ $status }}
</td>
<td>
{{ $numero }}
</td>
<td>
{{ $grupo }}
</td>
</tr>
<tr>
<td>
<strong>Subgrupo:</strong>
</td>
<td>
<strong>Material:</strong>
</td>
</tr>
<tr>
<td>
{{ $subgrupo }}
</td>
<td>
{{ $material }}
</td>
</tr>
</table>
<table>
<thead>
<tr>
@foreach ($colunas as $coluna)
<th><strong>{{ $coluna['label'] }}</strong></th>
@endforeach
</tr>
</thead>
<tbody>
@foreach ($requisicoes as $requisicao)
<tr>
@foreach ($colunas as $coluna)
<td>{{ $requisicao->{$coluna['key']} ?? '-' }}</td>
@endforeach
</tr>
@endforeach
</tbody>
</table>

View File

@@ -0,0 +1,186 @@
<table>
<tr>
<td style="text-align: center" colspan="{{ $colunas->count() }}">
<strong>{{ $title }}</strong>
</td>
</tr>
<tr>
<td colspan="2">
<strong>Período:</strong>
</td>
<td>
<strong>Unidade:</strong>
</td>
</tr>
<tr>
<td colspan="2">
De {{ $inicio }} até {{ $fim }}
</td>
<td>
{{ $unidade }}
</td>
</tr>
<tr>
<td colspan="2">
<strong>Local de atendimento:</strong>
</td>
<td>
<strong>Setor:</strong>
</td>
</tr>
<tr>
<td colspan="2">
{{ $infraestrutura }}
</td>
<td>
{{ $setor }}
</td>
</tr>
<tr>
<td>
<strong>Tipo:</strong>
</td>
<td>
<strong>Motivo:</strong>
</td>
<td>
<strong>Usuário que realizou a saída:</strong>
</td>
</tr>
<tr>
<td>
{{ $tipo }}
</td>
<td>
{{ $motivo }}
</td>
<td>
{{ $usuarioSaida }}
</td>
</tr>
<tr>
<td colspan="2">
<strong>Unidade requisitante:</strong>
</td>
<td>
<strong>Local de atendimento requisitante:</strong>
</td>
</tr>
<tr>
<td colspan="2">
{{ $unidadeRequisitante }}
</td>
<td>
{{ $infraestruturaRequisitante }}
</td>
</tr>
<tr>
<td colspan="2">
<strong>Setor requisitante:</strong>
</td>
<td>
<strong>Usuário requisitante:</strong>
</td>
</tr>
<tr>
<td colspan="2">
{{ $setorRequisitante }}
</td>
<td>
{{ $usuarioRequisitante }}
</td>
</tr>
<tr>
<td colspan="2">
<strong>Grupo:</strong>
</td>
<td>
<strong>Subgrupo:</strong>
</td>
</tr>
<tr>
<td colspan="2">
{{ $grupo }}
</td>
<td>
{{ $subgrupo }}
</td>
</tr>
<tr>
<td colspan="2">
<strong>Material:</strong>
</td>
</tr>
<tr>
<td colspan="2">
{{ $material }}
</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
</tbody>
<tfoot>
<tr>
<th colspan="{{ $colunas->count() - 1 }}"></th>
<th>
<strong>{{ $totalizadores->quantidade }}</strong>
</th>
</tr>
<tr>
<th colspan="{{ $colunas->count() }}">
@foreach ($totalizadores->tipos as $i => $totalizadorTipo)
@if($i > 0)|@endif {{ $totalizadorTipo->nome }}: {{ $totalizadorTipo->quantidade }}
@endforeach
</th>
</tr>
</tfoot>
</table>

View File

@@ -0,0 +1,114 @@
<table>
<tr>
<td style="text-align: center" colspan="{{ $colunas->count() }}">
<strong>{{ $title }}</strong>
</td>
</tr>
<tr>
<td>
<strong>Período:</strong>
</td>
<td>
<strong>Unidade:</strong>
</td>
</tr>
<tr>
<td>
De {{ $inicio }} até {{ $fim }}
</td>
<td>
{{ $unidade }}
</td>
</tr>
<tr>
<td>
<strong>Local de atendimento:</strong>
</td>
<td>
<strong>Setor:</strong>
</td>
</tr>
<tr>
<td>
{{ $infraestrutura }}
</td>
<td>
{{ $setor }}
</td>
</tr>
<tr>
<td>
<strong>Grupo:</strong>
</td>
<td>
<strong>Subgrupo:</strong>
</td>
</tr>
<tr>
<td>
{{ $grupo }}
</td>
<td>
{{ $subgrupo }}
</td>
</tr>
<tr>
<td>
<strong>Material:</strong>
</td>
</tr>
<tr>
<td>
{{ $material }}
</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
</tbody>
<tfoot>
<tr>
<th colspan="{{ $colunas->count() - 1 }}"></th>
<th>
<strong>{{ $totalizadores['total'] }}</strong>
</th>
</tr>
</tfoot>
</table>