This commit is contained in:
@@ -0,0 +1,138 @@
|
||||
<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>
|
||||
|
||||
<td>
|
||||
<strong>Profissional</strong>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<strong>Supervisor</strong>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<strong>Exame</strong>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<strong>Status</strong>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
De {{ $inicio }} até {{ $fim }}
|
||||
</td>
|
||||
|
||||
<td>
|
||||
{{ $unidade }}
|
||||
</td>
|
||||
|
||||
<td>
|
||||
{{ $profissional }}
|
||||
</td>
|
||||
|
||||
<td>
|
||||
{{ $supervisor }}
|
||||
</td>
|
||||
|
||||
<td>
|
||||
{{ $exame }}
|
||||
</td>
|
||||
|
||||
<td>
|
||||
{{ $status }}
|
||||
</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() }}"></th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th colspan="{{ $colunas->count() }}"><strong>Exame(s) bloqueado(s)</strong></th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>
|
||||
Quantidade: {{ $totalizadores['quantidade_bloqueado'] }}
|
||||
</th>
|
||||
<th>
|
||||
Valor: {{ $totalizadores['total_bloqueado'] }}
|
||||
</th>
|
||||
<th colspan="{{ $colunas->count() - 2}}"></th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th colspan="{{ $colunas->count() }}"></th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th colspan="{{ $colunas->count() }}"><strong>Exame(s) liberado(s)</strong></th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>
|
||||
Quantidade: {{ $totalizadores['quantidade_liberado'] }}
|
||||
</th>
|
||||
<th>
|
||||
Valor: {{ $totalizadores['total_liberado'] }}
|
||||
</th>
|
||||
<th colspan="{{ $colunas->count() - 2}}"></th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th colspan="{{ $colunas->count() }}"></th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th colspan="{{ $colunas->count() }}"><strong>Total</strong></th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>
|
||||
Quantidade: {{ $totalizadores['quantidade_total'] }}
|
||||
</th>
|
||||
<th>
|
||||
Valor: {{ $totalizadores['total'] }}
|
||||
</th>
|
||||
<th colspan="{{ $colunas->count() - 2}}"></th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
Reference in New Issue
Block a user