Files
rkm-conectasus-ci-sandbox/api/resources/views/impressoes/template/farmacia/relatorio-atendimento-diario.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

107 lines
2.3 KiB
PHP

@extends('impressoes.layout1.content')
@section('conteudo')
<style>
.text-center {
text-align: center !important;
}
.margin-top {
margin-top: 15px;
}
.col-min {
width: 1%;
}
</style>
<fieldset>
<legend>Filtros</legend>
<div class="row">
<div class="col-6">
<strong>Período:</strong>
</div>
<div class="col-6">
<strong>Unidade:</strong>
</div>
</div>
<div class="row">
<div class="col-6">
De {{ $start_date }} até {{ $end_date }}
</div>
<div class="col-6">
{{ $unidade_nome_fantasia }}
</div>
</div>
<div class="row">
<div class="col-6">
<strong>Local de atendimento:</strong>
</div>
<div class="col-6">
<strong>Tipo de receita:</strong>
</div>
</div>
<div class="row">
<div class="col-6">
{{ $infraestrutura_nome }}
</div>
<div class="col-6">
{{ $receita_tipo }}
</div>
</div>
<div class="row">
<div class="col-6">
<strong>Paciente:</strong>
</div>
</div>
<div class="row">
<div class="col-6">
{{ $paciente_nome }}
</div>
</div>
</fieldset>
<table class="table">
<thead>
<tr>
@foreach ($columns as $column)
<th class="{{ $column['class'] }}">{{ $column['label'] }}</th>
@endforeach
</tr>
</thead>
<tbody>
@foreach ($itens['dispensacoes'] as $item)
<tr>
@foreach ($columns as $column)
<td class="{{ $column['class'] }}">{{ $item->{$column['key']} ?? '-' }}</td>
@endforeach
</tr>
@endforeach
</tbody>
</table>
<table class="table">
<thead>
<tr>
<th class="text-center">
<span>
Total de pacientes: <span class="font-normal">{{ $itens['totalizadores']->pacientes }}</span>
</span>
<span style="margin-left: 10px;">
Total de medicamentos: <span class="font-normal">{{ $itens['totalizadores']->medicamentos }}</span>
</span>
</th>
</tr>
</thead>
</table>
@endsection