Files
rkm-conectasus-ci-sandbox/api/resources/views/impressoes/template/exame-laboratorial/exame-agendado-realizado.blade.php
Antonio Lopes dos Santos afec302c3e
All checks were successful
build-api-image / build (push) Successful in 51s
init commit
2026-08-04 16:52:02 -03:00

203 lines
7.6 KiB
PHP

@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 colspan="4" class="report-content-cell">
<fieldset>
<legend>Dados do Paciente</legend>
<div class="row">
<div class="col-5">
<strong>Nome:</strong>
</div>
<div class="col-3">
<strong>Data de nascimento:</strong>
</div>
<div class="col-2">
<strong>Sexo:</strong>
</div>
<div class="col-2">
<strong>Telefone:</strong>
</div>
</div>
<div class="row">
<div class="col-5">
{{ $atendimentos['form']['paciente']['nome'] }}
@if (!empty($atendimentos['form']['paciente']['nome_social']))
<strong>({{ $atendimentos['form']['paciente']['nome_social'] }})</strong>
@endif
</div>
<div class="col-3">
{{ $atendimentos['form']['paciente']['data_nascimento'] }}
</div>
<div class="col-2">
{{ $atendimentos['form']['paciente']['sexo']['descricao'] }}
</div>
<div class="col-2">
{{ $atendimentos['form']['paciente']['telefone'] }}
</div>
</div>
<div class="row">
<div class="col-5">
<strong>Unidade solicitante:</strong>
</div>
<div class="col-3">
<strong>Nr. Prontuario:</strong>
</div>
<div class="col-2">
</div>
<div class="col-2">
</div>
</div>
<div class="row">
<div class="col-5">
{{ $atendimentos['form']['paciente']['unidade'] }}
</div>
<div class="col-3">
{{ $atendimentos['form']['paciente']['prontuario'] }}
</div>
<div class="col-2">
</div>
<div class="col-2">
</div>
</div>
</fieldset>
</td>
</tr>
<tr>
<td colspan="4" style="height:10px"></td>
</tr>
<tr>
<td class="report-content-cell mt-2">
@if ($atendimentos['form']['agendados']->count() !== 0)
<table class="table">
<thead>
<tr>
<th colspan="9">EXAMES AGENDADOS</th>
</tr>
<tr>
<th>Agendamento</th>
<th>Exame</th>
<th>Data Agendamento</th>
<th>Data Coleta</th>
<th>Previsão de entrega</th>
<th>Unidade</th>
<th>Local de atendimento</th>
<th>Médico Solicitante</th>
<th>Status</th>
</tr>
</thead>
<tbody>
@foreach ($atendimentos['form']['agendados'] as $agendado)
@foreach ($agendado['incluido'] as $exame)
<tr>
<td>{{ $agendado['agendamento_numero'] }}</td>
<td>{{ $exame['nome'] }}</td>
<td>{{ $agendado['data'] }}</td>
<td>{{ $agendado['data_coleta'] }}</td>
<td>{{ $exame['data_entrega'] }}</td>
<td>{{ $agendado['unidade'] }}</td>
<td>{{ $agendado['infraestrutura'] }}</td>
<td>{{ $agendado['medico_nome'] }}</td>
<td>{{ $exame['status'] }}</td>
</tr>
@endforeach
@endforeach
</tbody>
</table>
@endif
@if ($atendimentos['form']['realizados']->count() !== 0)
<table class="table">
<thead>
<tr>
<th colspan="9">EXAMES REALIZADOS</th>
</tr>
<tr>
<th>Agendamento</th>
<th>Exame</th>
<th>Data Agendamento</th>
<th>Data Coleta</th>
<th>Previsão de entrega</th>
<th>Unidade</th>
<th>Local de atendimento</th>
<th>Médico Solicitante</th>
<th>Status</th>
</tr>
</thead>
<tbody>
@foreach ($atendimentos['form']['realizados'] as $realizado)
@foreach ($realizado['incluido'] as $exame)
<tr>
<td>{{ $realizado['agendamento_id'] }}</td>
<td>{{ $exame['nome'] }}</td>
<td>{{ $realizado['data'] }}</td>
<td>{{ $realizado['data_coleta'] }}</td>
<td>{{ $exame['data_entrega'] }}</td>
<td>{{ $realizado['unidade'] }}</td>
<td>{{ $realizado['infraestrutura'] }}</td>
<td>{{ $realizado['medico_nome'] }}</td>
<td>{{ $exame['status'] }}</td>
</tr>
@endforeach
@endforeach
</tbody>
</table>
@endif
</td>
</tr>
</tbody>
</table>
<style>
body {font-family: Helvetica, arial, sans-serif; font-size: 12px;}
table {margin-bottom: 15px;}
th {text-align: center!important;}
p {margin:0; padding: 0;}
fieldset {margin-bottom: 0!important;}
.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>