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