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,134 @@
@extends('impressoes.layout1.content')
@section('conteudo')
<style>
.table-inventario > thead > tr > th { text-align: center; white-space: nowrap; }
.col-min { width: 1%; }
.col-lote { width: 15%; }
.d-inline-block { display: inline-block; }
</style>
<div class="row">
<div class="col-2">
<strong>Data da requisição:</strong>
</div>
<div class="col-4">
<strong>Número:</strong>
</div>
</div>
<div class="row">
<div class="col-2">
{{ $data }}
</div>
<div class="col-4">
{{ $numero }}
</div>
</div>
<fieldset>
<legend>Dados do requisitante</legend>
<div class="row">
<div class="col-6">
<strong>Unidade:</strong>
</div>
<div class="col-6">
<strong>Local de atendimento:</strong>
</div>
</div>
<div class="row">
<div class="col-6">
{{ $requisitante['unidade'] }}
</div>
<div class="col-6">
{{ $requisitante['local_atendimento'] }}
</div>
</div>
<div class="row">
<div class="col-6">
<strong>Setor:</strong>
</div>
<div class="col-6">
<strong>Usuário:</strong>
</div>
</div>
<div class="row">
<div class="col-6">
{{ $requisitante['setor'] }}
</div>
<div class="col-6">
{{ $requisitante['usuario'] }}
</div>
</div>
<div class="row">
<div class="col-10">
<strong>Endereço:</strong>
</div>
<div class="col-2">
<strong>Telefone:</strong>
</div>
</div>
<div class="row">
<div class="col-10">
{{ $requisitante['endereco'] }}
</div>
<div class="col-2">
{{ $requisitante['telefone'] }}
</div>
</div>
</fieldset>
<table class="table table-inventario">
<thead>
<tr>
<th class="col-min">Código</th>
<th>Descrição</th>
@if($isPrimeiroEnvio)
<th class="col-min">Requisitado</th>
@else
<th class="col-min">Entregue</th>
<th class="col-min">Restante requisitado</th>
@endif
<th class="col-lote">Lote</th>
<th class="col-min">Validade</th>
<th class="col-min">Conceder</th>
</tr>
</thead>
<tbody>
@foreach ($itens as $item)
<tr>
<td class="text-center">{{ $item['material']['codigo'] }}</td>
<td>{{ $item['material']['descricao_completa'] }}</td>
@if($isPrimeiroEnvio)
<td class="text-center">{{ $item['requisitado'] }}</td>
@else
<td class="text-center">{{ $item['entregue'] }}</td>
<td class="text-center">{{ $item['restante_requisitado'] }}</td>
@endif
<td class="text-center"></td>
<td class="text-center"></td>
<td class="text-center"></td>
</tr>
@endforeach
</tbody>
</table>
@endsection