This commit is contained in:
@@ -0,0 +1,250 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="pt-BR">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<style type="text/css">
|
||||
header {
|
||||
color: #222222;
|
||||
display: block;
|
||||
font-family: Helvetica;
|
||||
font-size: 16px;
|
||||
padding-bottom: 1mm;
|
||||
}
|
||||
.header {
|
||||
border-bottom: 2px solid #000000;
|
||||
width: 100%;
|
||||
}
|
||||
.header-left {
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
width: 15%;
|
||||
}
|
||||
.header-left img {
|
||||
width: 50px;
|
||||
}
|
||||
.header-right {
|
||||
line-height: 8px;
|
||||
vertical-align: middle;
|
||||
font-size:13px;
|
||||
}
|
||||
.title {
|
||||
margin: 5mm 0 0 0;
|
||||
text-align: center;
|
||||
}
|
||||
.title-endereco {
|
||||
line-height: 4mm;
|
||||
}
|
||||
fieldset {
|
||||
margin-bottom: 5px !important;
|
||||
padding-top: 0px !important;
|
||||
page-break-inside: avoid !important;
|
||||
}
|
||||
legend {
|
||||
background-color: white;
|
||||
font-size: 14px !important;
|
||||
}
|
||||
.mb-0 {
|
||||
margin-bottom: 0px !important;
|
||||
}
|
||||
p {
|
||||
margin-bottom: 5px !important;
|
||||
margin-left: 0px !important;
|
||||
margin-right: 0px !important;
|
||||
margin-top: 0px !important;
|
||||
}
|
||||
#dados-cidadao {
|
||||
font-size: 12px !important;
|
||||
}
|
||||
fieldset {
|
||||
border-radius: 2px;
|
||||
border: 1px solid #222222;
|
||||
margin: 0px 0px 15px 0px;
|
||||
padding: 5px;
|
||||
}
|
||||
fieldset > legend {
|
||||
font-weight: bold;
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
th {
|
||||
font-family: sans-serif;
|
||||
}
|
||||
td {
|
||||
vertical-align: top;
|
||||
}
|
||||
.row {
|
||||
display: table;
|
||||
width: 100%;
|
||||
}
|
||||
.col-1 {
|
||||
display: table-cell;
|
||||
width: 8.33333%;
|
||||
}
|
||||
.col-2 {
|
||||
display: table-cell;
|
||||
width: 16.66667%;
|
||||
}
|
||||
.col-3 {
|
||||
display: table-cell;
|
||||
width: 25%;
|
||||
}
|
||||
.col-4 {
|
||||
display: table-cell;
|
||||
width: 33.33333%;
|
||||
}
|
||||
.col-5 {
|
||||
display: table-cell;
|
||||
width: 41.66667%;
|
||||
}
|
||||
.col-6 {
|
||||
display: table-cell;
|
||||
width: 50%;
|
||||
}
|
||||
.col-7 {
|
||||
display: table-cell;
|
||||
width: 58.33333%;
|
||||
}
|
||||
.col-8 {
|
||||
display: table-cell;
|
||||
width: 66.66667%;
|
||||
}
|
||||
.col-9 {
|
||||
display: table-cell;
|
||||
width: 75%;
|
||||
}
|
||||
.col-10 {
|
||||
display: table-cell;
|
||||
width: 83.33333%;
|
||||
}
|
||||
.col-11 {
|
||||
display: table-cell;
|
||||
width: 91.66667%;
|
||||
}
|
||||
.col-12 {
|
||||
display: table-cell;
|
||||
width: 100%;
|
||||
}
|
||||
#logotipo {
|
||||
width: 50px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<table class="header">
|
||||
<tr>
|
||||
<td class="header-left">
|
||||
<img
|
||||
alt="Logotipo"
|
||||
id="logotipo"
|
||||
src="data:image/png;base64, {{ $_data['cliente']['logotipo'] }}"
|
||||
/>
|
||||
</td>
|
||||
|
||||
<td class="header-right">
|
||||
<p>Prefeitura de {{ $_data['cliente']['nome'] }} - Secretaria Municipal de {{ $_data['cliente']['sistema']['ramo_atividade']['nome'] }}</p>
|
||||
<p>{{ $unidade_nome_fantasia }} - {{ $_data['infraestrutura']['telefone'] }}</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<h2 class="title">{{ $title }}</h2>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<fieldset>
|
||||
<legend>DADOS DO CIDADÃO</legend>
|
||||
|
||||
<div class="row" id="dados-cidadao">
|
||||
<div class="col-8">
|
||||
<strong>Nome</strong>
|
||||
<div>
|
||||
{{$soaps['0']['paciente']['nome']}}
|
||||
|
||||
@if(isset($soaps['0']['paciente']['nome_social']))
|
||||
<strong>({{$soaps['0']['paciente']['nome_social']}})</strong>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-4">
|
||||
<strong>Raça/Cor</strong>
|
||||
<div>{{$soaps['0']['paciente']['raca_cor']}}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row" id="dados-cidadao">
|
||||
|
||||
<div class="col-4">
|
||||
<strong>Data de nascimento</strong>
|
||||
<div>{{$soaps['0']['paciente']['data_nascimento']}}</div>
|
||||
</div>
|
||||
|
||||
<div class="col-4">
|
||||
<strong>Idade</strong>
|
||||
<div style="white-space: nowrap;">{{$soaps['0']['paciente']['idade']}}</div>
|
||||
</div>
|
||||
|
||||
<div class="col-4">
|
||||
<strong>Nome da mãe</strong>
|
||||
<div>{{$soaps['0']['paciente']['nome_mae']}}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row" id="dados-cidadao">
|
||||
<div class="col-4">
|
||||
<strong>Prontuário Municipal</strong>
|
||||
<div>{{$soaps['0']['paciente']['prontuario'] ?? '-'}}</div>
|
||||
</div>
|
||||
|
||||
<div class="col-4">
|
||||
<strong>CPF</strong>
|
||||
<div>{{$soaps['0']['paciente']['cpf']}}</div>
|
||||
</div>
|
||||
|
||||
<div class="col-4">
|
||||
<strong>CNS</strong>
|
||||
<div>{{$soaps['0']['paciente']['cns']}}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row" id="dados-cidadao">
|
||||
|
||||
<div class="col-4">
|
||||
<strong>Telefone</strong>
|
||||
<div>
|
||||
@if(!empty($soaps['0']['paciente']['telefones']))
|
||||
{{ implode(', ', $soaps['0']['paciente']['telefones']) }}
|
||||
@else
|
||||
-
|
||||
@endif
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-4">
|
||||
<strong>Município - Estado</strong>
|
||||
<div>{{ $soaps['0']['paciente']['municipio'] ?? '-' }}</div>
|
||||
</div>
|
||||
|
||||
<div class="col-4">
|
||||
<strong>Unidade Refeência</strong>
|
||||
<div>{{ $soaps['0']['paciente']['unidade_referencia'] ?? '-' }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</header>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user