This commit is contained in:
@@ -0,0 +1,104 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td style="text-align: center" colspan="{{ $colunas->count() }}">
|
||||
<strong>{{ $title }}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><strong>Período</strong></td>
|
||||
<td><strong>Unidade</strong></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>De {{$periodo['inicio']}} até {{$periodo['fim']}}</td>
|
||||
<td>{{ $unidade }}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><strong>Local de atendimento</strong></td>
|
||||
<td><strong>CBO</strong></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{{ $infraestrutura }}</td>
|
||||
<td>{{ $cbo }}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><strong>Profissional</strong></td>
|
||||
<td><strong>Procedimento</strong></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{{ $usuario }}</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
@foreach ($colunas as $coluna)
|
||||
<th><strong>{{ $coluna['label'] }}</strong></th>
|
||||
@endforeach
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach ($itens['itens'] as $atendimento)
|
||||
<tr>
|
||||
@foreach ($colunas as $coluna)
|
||||
@php
|
||||
$key = $coluna['key'];
|
||||
$valor = data_get($atendimento, $key, '-');
|
||||
@endphp
|
||||
|
||||
<td class="{{ $coluna['class'] ?? '' }}">
|
||||
{{ $valor }}
|
||||
</td>
|
||||
|
||||
@endforeach
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
||||
<tr>
|
||||
<th colspan="auto" style="text-align: center;">
|
||||
<strong>Pacientes distintos atendidos: </strong>
|
||||
{{$itens['totalizadores']['pacientes_distintos_atendidos']}}
|
||||
</th>
|
||||
|
||||
<th colspan="auto" style="text-align: center;">
|
||||
<strong>feridas realizados: </strong>
|
||||
{{$itens['totalizadores']['atendimentos_realizados']}}
|
||||
</th>
|
||||
|
||||
<th colspan="auto" style="text-align: center;">
|
||||
<strong>SOAPs geradas: </strong>
|
||||
{{$itens['totalizadores']['soaps_geradas']}}
|
||||
</th>
|
||||
|
||||
<th colspan="auto" style="text-align: center;">
|
||||
<strong>Feridas registradas: </strong>
|
||||
{{$itens['totalizadores']['feridas_registradas']}}
|
||||
</th>
|
||||
|
||||
<th colspan="auto" style="text-align: center;">
|
||||
<strong>Procedimentos lançados: </strong>
|
||||
{{$itens['totalizadores']['procedimentos_lancados']}}
|
||||
</th>
|
||||
|
||||
<th colspan="auto" style="text-align: center;">
|
||||
<strong>Kits/materiais consumidos: </strong>
|
||||
{{$itens['totalizadores']['kits_materiais_consumidos']}}
|
||||
</th>
|
||||
|
||||
<th colspan="auto" style="text-align: center;">
|
||||
<strong>Valores de custo total: </strong>
|
||||
{{$itens['totalizadores']['valor_custo_total']}}
|
||||
</th>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
Reference in New Issue
Block a user