This commit is contained in:
@@ -0,0 +1,168 @@
|
||||
@extends('impressoes.layout1.content')
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<table class="report-container">
|
||||
|
||||
<thead class="report-header">
|
||||
<tr>
|
||||
<th class="report-header-cell">
|
||||
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tfoot class="report-footer">
|
||||
<tr>
|
||||
<td class="report-footer-cell">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
|
||||
<tbody class="report-content">
|
||||
|
||||
<tr>
|
||||
<td class="report-content-cell">
|
||||
|
||||
<fieldset>
|
||||
<legend>Filtros</legend>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
<strong>Período de-até:</strong>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<strong>Grupo:</strong>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
{{ $atendimentos['form']['periodo']['start'] }} - {{ $atendimentos['form']['periodo']['end'] }}
|
||||
</div>
|
||||
<div class="col-6">
|
||||
{{ $atendimentos['form']['exame_grupo'] }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
<strong>Unidade Solicitante:</strong>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<strong>Local de atendimento:</strong>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
{{ $atendimentos['form']['unidade_nome'] }}
|
||||
</div>
|
||||
<div class="col-6">
|
||||
{{ $atendimentos['form']['infraestrutura_nome'] }}
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@php
|
||||
$agendamento_numero = "";
|
||||
$exame_grupo_id = "";
|
||||
@endphp
|
||||
|
||||
@foreach ($atendimentos['form']['agendamentos'] as $agendamento)
|
||||
|
||||
@if ($exame_grupo_id <> $agendamento->exame_grupo_id)
|
||||
|
||||
@if (!$loop->first)
|
||||
</table>
|
||||
</td></tr>
|
||||
@endif
|
||||
|
||||
@php
|
||||
$exame_grupo_id = $agendamento->exame_grupo_id;
|
||||
@endphp
|
||||
|
||||
<tr>
|
||||
<td class="report-content-cell">
|
||||
|
||||
<table class="table">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="2">Grupo: {{ $agendamento->exame_grupo_nome }} </th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="70%">Paciente</th>
|
||||
<th>Exame</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@endif
|
||||
|
||||
<tr>
|
||||
<td class="background-white">
|
||||
<p>Código: {{ $agendamento->agendamento_numero }}</p>
|
||||
<p>{{ $agendamento->paciente_prontuario }} - {{ $agendamento->paciente_nome }}
|
||||
|
||||
@if (!empty($agendamento->paciente_nome_social))
|
||||
<strong>({{ $agendamento->paciente_nome_social }})</strong>
|
||||
@endif
|
||||
</p>
|
||||
|
||||
<p>
|
||||
D.N.: {{ $agendamento->paciente_nascimento }}
|
||||
Sexo: {{ $agendamento->paciente_sexo_descricao }}
|
||||
Data: {{ $agendamento->data }}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Idade: {{ $agendamento->paciente_idade }}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Observações: {{ $agendamento->observacao }}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Exames:
|
||||
|
||||
@foreach ($atendimentos['form']['agendamentos_siglas'] as $agendamentos_siglas)
|
||||
|
||||
@if ($agendamento->agendamento_id == $agendamentos_siglas->agendamento_id)
|
||||
|
||||
{{ $agendamentos_siglas->sigla_exame }}
|
||||
|
||||
@endif
|
||||
|
||||
@endforeach
|
||||
</p>
|
||||
</td>
|
||||
<td style="vertical-align: text-top;" class="background-white">{{ $agendamento->exame_nome }}:</td>
|
||||
</tr>
|
||||
|
||||
@endforeach
|
||||
|
||||
</table>
|
||||
</td></tr>
|
||||
|
||||
</tbody>
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
<style>
|
||||
|
||||
body {font-family: Helvetica, arial, sans-serif;}
|
||||
table {margin-bottom: 15px;}
|
||||
p {margin:0; padding: 0;}
|
||||
.circulo {height:15px; width:15px; border:1px solid #000;}
|
||||
.background-white { background: #fff!important}
|
||||
.report-content-cell { background: #fff!important; border: none!important}
|
||||
table.report-container {page-break-after: always;}
|
||||
tr {border:0}
|
||||
</style>
|
||||
Reference in New Issue
Block a user