Files
Antonio Lopes dos Santos afec302c3e
All checks were successful
build-api-image / build (push) Successful in 51s
init commit
2026-08-04 16:52:02 -03:00

38 lines
1.3 KiB
PHP

<div class="area {{ $props['class'] ?? '' }}">
<div class="area">
@foreach($data['filtro'] as $row)
<table class="grid">
<tr>
@foreach($row as $col)
<td class="{{ $col[2] ?? '' }}">
<div><strong>{{ $col[0] }}:</strong></div>
<div>{{ $col[1] }}</div>
</td>
@endforeach
</tr>
</table>
@endforeach
</div>
<div class="area pt-0">
<table class="table">
<thead>
<tr>
@foreach($data['resultado']['thead'] as $col)
<th class="{{ is_array($col) ? $col[1] : '' }}">{{ is_array($col) ? $col[0] : $col }}</th>
@endforeach
</tr>
</thead>
<tbody>
@foreach($data['resultado']['tbody'] as $row)
<tr>
@foreach($row as $col)
<td class="{{ is_array($col) ? $col[1] : '' }}">{{ is_array($col) ? $col[0] : $col }}</td>
@endforeach
</tr>
@endforeach
</tbody>
</table>
</div>
</div>