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,97 @@
<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>
</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>
@else
<td>{{ $item->{$coluna['key']} ?? '-' }}</td>
@endif
@endforeach
</tr>
@endforeach
</tbody>
</table>