153 lines
3.5 KiB
PHP
153 lines
3.5 KiB
PHP
<table>
|
|
<tr>
|
|
<td style="text-align: center" colspan="12">
|
|
<strong>{{$title}}</strong>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
<strong>Período de envio de</strong>
|
|
</td>
|
|
<td>
|
|
<strong>Período de envio até</strong>
|
|
</td>
|
|
<td>
|
|
<strong>Período de aplicação de</strong>
|
|
</td>
|
|
<td>
|
|
<strong>Período de aplicação até</strong>
|
|
</td>
|
|
<td>
|
|
<strong>Unidade</strong>
|
|
</td>
|
|
<td>
|
|
<strong>Local de atendimento</strong>
|
|
</td>
|
|
<td>
|
|
<strong>Aplicador</strong>
|
|
</td>
|
|
<td>
|
|
<strong>Prontuário</strong>
|
|
</td>
|
|
<td>
|
|
<strong>Sexo</strong>
|
|
</td>
|
|
<td>
|
|
<strong>Vacina</strong>
|
|
</td>
|
|
<td>
|
|
<strong>Status</strong>
|
|
</td>
|
|
<td>
|
|
<strong>Tipo de envio</strong>
|
|
</td>
|
|
<td>
|
|
<strong>Situação do envio</strong>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
{{$periodo_envio['inicio']}}
|
|
</td>
|
|
<td>
|
|
{{$periodo_envio['fim']}}
|
|
</td>
|
|
<td>
|
|
{{$periodo_aplicacao['inicio']}}
|
|
</td>
|
|
<td>
|
|
{{$periodo_aplicacao['inicio']}}
|
|
</td>
|
|
<td>
|
|
{{$unidade_nome_fantasia}}
|
|
</td>
|
|
<td>
|
|
{{$infraestrutura_nome}}
|
|
</td>
|
|
<td>
|
|
{{$usuario_nome}}
|
|
</td>
|
|
<td>
|
|
{{$paciente_prontuario}}
|
|
</td>
|
|
<td>
|
|
{{$sexo}}
|
|
</td>
|
|
<td>
|
|
{{$vacina_nome}}
|
|
</td>
|
|
<td>
|
|
{{$status}}
|
|
</td>
|
|
<td>
|
|
{{$tipo_envio}}
|
|
</td>
|
|
<td>
|
|
{{$situacao_envio}}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
@foreach ($colunas as $coluna)
|
|
<th class="{{$coluna['class']}}">{{$coluna['label']}}</th>
|
|
@endforeach
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
@foreach ($itens['resultado'] as $item)
|
|
<tr>
|
|
@foreach($colunas as $coluna)
|
|
<td class="{{$coluna['class']}}">
|
|
@if($coluna['key'] === 'inconsistencias')
|
|
@foreach($item->inconsistencias as $inconsistencia)
|
|
<div>{{$inconsistencia['resposta']}}</div>
|
|
@endforeach
|
|
@else
|
|
{{$item->{$coluna['key']} ?? '-'}}
|
|
@endif
|
|
</td>
|
|
@endforeach
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<td style="text-align: center" colspan="3">Totalizadores - Envio</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>
|
|
<strong>Sem inconsistência</strong>
|
|
</th>
|
|
<th>
|
|
<strong>Sem inconsistência</strong>
|
|
</th>
|
|
<th>
|
|
<strong>Total</strong>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
{{$itens['totalizadores']['sem_inconsistencias']}}
|
|
</td>
|
|
<td>
|
|
{{$itens['totalizadores']['com_inconsistencias']}}
|
|
</td>
|
|
<td>
|
|
{{$itens['totalizadores']['total_envios']}}
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table> |