This commit is contained in:
@@ -0,0 +1,92 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td style="text-align: center" colspan="2">
|
||||
<strong>{{$title}}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><strong>Período</strong></td>
|
||||
<td><strong>Unidade</strong></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>De {{$inicio}} até {{$fim}}</td>
|
||||
<td>{{$unidade}}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><strong>Local de atendimento</strong></td>
|
||||
<td><strong>Profissional</strong></td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{{$infraestrutura}}</td>
|
||||
<td>{{$usuario}}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><strong>Turno</strong></td>
|
||||
<td><strong>CBO</strong></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{{$turno}}</td>
|
||||
<td>{{$ocupacao}}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><strong>Equipe</strong></td>
|
||||
<td><strong>Modalidade</strong></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{{$equipe}}</td>
|
||||
<td>{{$modalidade}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
@foreach ($colunas as $coluna)
|
||||
<th><strong>{{ $coluna['label'] }}</strong></th>
|
||||
@endforeach
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach($itens['itens'] as $item)
|
||||
<tr>
|
||||
@foreach ($colunas as $coluna)
|
||||
<td style="{{($item->quantidade_dias_cadastro_paciente_desatualizado > 0 || $item->avaliacao_elegibilidade === 'Não') ? 'background-color: #f8d7da;' : '' }}">{{ $item->{$coluna['key']} ?? '-' }}</td>
|
||||
@endforeach
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="text-align: center" colspan="5">
|
||||
<strong>Totais</strong>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><strong>Total de atendimentos</strong></td>
|
||||
<td><strong>Total de pacientes atendidos</strong></td>
|
||||
<td><strong>Total de atendimentos AD 1</strong></td>
|
||||
<td><strong>Total de atendimentos AD 2</strong></td>
|
||||
<td><strong>Total de atendimentos AD 3</strong></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{{$itens['totalizadores']['total_atendimentos']}}</td>
|
||||
<td>{{$itens['totalizadores']['total_pacientes_atendidos']}}</td>
|
||||
<td>{{$itens['totalizadores']['total_modalidades']['AD_1']}}</td>
|
||||
<td>{{$itens['totalizadores']['total_modalidades']['AD_2']}}</td>
|
||||
<td>{{$itens['totalizadores']['total_modalidades']['AD_3']}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
Reference in New Issue
Block a user