This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td style="text-align: center" colspan="4">
|
||||
<strong>{{$title}}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><strong>Tipo</strong></td>
|
||||
<td><strong>Grupo</strong></td>
|
||||
<td><strong>Valor Sitap</strong></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{{$tipo}}</td>
|
||||
<td>{{$grupo}}</td>
|
||||
<td>{{$valor}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
@foreach ($selectedCols as $col)
|
||||
<th style="border: 1px solid #000; padding: 4px;" class="{{ $col['class'] ?? '' }}">
|
||||
<strong>{{ $col['label'] }}</strong>
|
||||
</th>
|
||||
@endforeach
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach ($dados['itens'] as $item)
|
||||
<tr>
|
||||
@foreach ($selectedCols as $col)
|
||||
<td style="border: 1px solid #000; padding: 4px;" class="{{ $col['class'] ?? '' }}">
|
||||
{{ $item->{$col['key']} }}
|
||||
</td>
|
||||
@endforeach
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
Reference in New Issue
Block a user