This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user