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,87 @@
@extends('impressoes.layout1.content')
@section('conteudo')
<style>
.table-inventario > thead > tr > th { text-align: center; }
</style>
<fieldset>
<legend>Filtros</legend>
<div class="row">
<div class="col-12">
<strong>Local de atendimento:</strong>
</div>
</div>
<div class="row">
<div class="col-12">
{{ $localAtendimento }}
</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 ?? 'Todos' }}
</div>
<div class="col-6">
{{ $subgrupo ?? 'Todos' }}
</div>
</div>
</fieldset>
<table class="table table-inventario">
<thead>
<tr>
<th>Código</th>
<th>Descrição</th>
<th>Lote</th>
<th>Validade</th>
@if(!isset($grupo))
<th>Grupo</th>
@endif
@if(!isset($subgrupo))
<th>Subgrupo</th>
@endif
<th>Status</th>
<th>Estoque</th>
<th>Contagem</th>
</tr>
</thead>
<tbody>
@foreach ($materiais as $material)
<tr>
<td class="text-center">{{ $material->codigo_material }}</td>
<td>{{ $material->descricao }}</td>
<td class="text-center">{{ $material->lote }}</td>
<td class="text-center">{{ $material->validade_lote }}</td>
@if(!isset($grupo))
<td class="text-center">{{ $material->grupo }}</td>
@endif
@if(!isset($subgrupo))
<td class="text-center">{{ $material->subgrupo }}</td>
@endif
<td class="text-center">{{ $material->is_ativo ? 'ATIVO' : 'INATIVO' }}</td>
<td class="text-center">{{ $material->estoque }}</td>
<td class="text-center">{{ $material->contagem }}</td>
</tr>
@endforeach
</tbody>
</table>
@endsection