This commit is contained in:
@@ -0,0 +1,98 @@
|
||||
@php
|
||||
use App\Enums\ProntoAtendimento\Atendimento\MetodoProducao;
|
||||
@endphp
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="text-align: center" colspan="{{ count($params['columns']) }}">
|
||||
RELATÓRIO DE PRODUÇÃO DO MÉDICO
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Período de:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Até: </strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Unidade:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Local de atendimento:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{{ $params['periodo']['start'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['periodo']['end'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['unidade'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['local_atendimento'] }}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Método:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Médico:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Origem de entrada:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Status:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{{ MetodoProducao::getConstantName($params['metodo_producao']) }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['nome_medico'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['nome_origem_entrada'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['nome_status'] }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
@foreach($params['columns'] as $coluna)
|
||||
<th>{{ $coluna['label'] }}</th>
|
||||
@endforeach
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach ($atendimentos['atendimentos'] as $atendimento)
|
||||
<tr>
|
||||
@foreach($params['columns'] as $coluna)
|
||||
<td>{{ get_object_vars($atendimento)[$coluna['key']] }}</td>
|
||||
@endforeach
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
<tr>
|
||||
<td colspan="{{ count($params['columns']) - 1 }}" style="text-align:right">
|
||||
Total
|
||||
</td>
|
||||
<td>
|
||||
{{ $atendimentos['quantidade_total'] }}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
Reference in New Issue
Block a user