127 lines
3.5 KiB
PHP
127 lines
3.5 KiB
PHP
<table>
|
|
<tr>
|
|
<td style="text-align: center" colspan="3">
|
|
<strong>{{$title}}</strong>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><strong>Período</strong></td>
|
|
<td><strong>Tipo de demanda</strong></td>
|
|
<td><strong>Tipo de agendamento</strong></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>De {{$periodo['inicio']}} até {{$periodo['fim']}}</td>
|
|
<td>{{$demanda_tipo}}</td>
|
|
<td>{{$agendamento_tipo}}</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><strong>Municipio</strong></td>
|
|
<td><strong>Unidade</strong></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>{{$municipio}}</td>
|
|
<td>{{$unidade}}</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><strong>Local de atendimento</strong></td>
|
|
<td><strong>Especialidade</strong></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>{{$infraestrutura}}</td>
|
|
<td>{{$especialidade}}</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><strong>Profissional</strong></td>
|
|
<td><strong>Status</strong></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>{{$usuario}}</td>
|
|
<td>{{$status}}</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th><strong>Data</strong></th>
|
|
<th><strong>Tipo de agendamento</strong></th>
|
|
<th><strong>Municipio</strong></th>
|
|
<th><strong>Unidade</strong></th>
|
|
<th><strong>Local de atendimento</strong></th>
|
|
<th><strong>Especialidade</strong></th>
|
|
<th><strong>Profissional</strong></th>
|
|
<th><strong>Status</strong></th>
|
|
<th><strong>Total</strong></th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
@foreach($data['itens'] as $item)
|
|
<tr>
|
|
<td>{{$item->data}}</td>
|
|
<td>{{$item->agendamento_tipo_nome}}</td>
|
|
<td>{{$item->municipio_nome}}</td>
|
|
<td>{{$item->unidade_nome_fantasia}}</td>
|
|
<td>{{$item->infraestrutura_nome}}</td>
|
|
<td>{{$item->especialidade_nome}}</td>
|
|
<td>{{$item->usuario_nome}}</td>
|
|
<td>{{$item->agendamento_status_nome}}</td>
|
|
<td>{{$item->quantidade}}</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
|
|
<table>
|
|
<tr>
|
|
<td style="text-align: center" colspan="@if($demanda_tipo === 'AGENDADA') 4 @else 3 @endif">
|
|
<strong>Totais</strong>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><strong>Agendado</strong></td>
|
|
<td><strong>Realizado</strong></td>
|
|
<td><strong>Reagendado pelo paciente</strong></td>
|
|
<td><strong>Reagendado pelo médico</strong></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>{{$data['totalizadores']['agendado']}}</td>
|
|
<td>{{$data['totalizadores']['realizado']}}</td>
|
|
<td>{{$data['totalizadores']['reagendado_paciente']}}</td>
|
|
<td>{{$data['totalizadores']['reagendado_medico']}}</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><strong>Cancelado pelo paciente</strong></td>
|
|
<td><strong>Cancelado pelo médico</strong></td>
|
|
<td><strong>Falta do paciente</strong></td>
|
|
<td><strong>Falta do médico</strong></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>{{$data['totalizadores']['cancelado_paciente']}}</td>
|
|
<td>{{$data['totalizadores']['cancelado_medico']}}</td>
|
|
<td>{{$data['totalizadores']['falta_paciente']}}</td>
|
|
<td>{{$data['totalizadores']['falta_medica']}}</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><strong>Aberto</strong></td>
|
|
<td><strong>Total geral</strong></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>{{$data['totalizadores']['aberto']}}</td>
|
|
<td>{{$data['totalizadores']['geral']}}</td>
|
|
</tr>
|
|
</table> |