This commit is contained in:
@@ -0,0 +1,99 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td style="text-align: center" colspan="{{ count($params['columns']) }}">
|
||||
<strong>RELATÓRIO DE JORNADA - COTA PROFISSIONAL</strong>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Período:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Unidade executante:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
De: {{$params['periodo']['start'] }} até {{$params['periodo']['end'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{$params['executantes']}}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Grupo de exames</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Profissional executante:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
{{$params['grupos']}}
|
||||
</td>
|
||||
<td>
|
||||
{{$params['profissional']}}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Status:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
{{$params['status']}}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
@foreach ($params['columns'] as $coluna)
|
||||
<th>
|
||||
<strong>{{ $coluna['label'] }}</strong>
|
||||
</th>
|
||||
@endforeach
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach ($listagem as $profissional)
|
||||
<tr>
|
||||
<td class="text-left">{{$profissional['data']}}</td>
|
||||
<td class="text-left">{{$profissional['profissional_nome']}}</td>
|
||||
<td class="text-left">{{$profissional['grupo']}}</td>
|
||||
<td class="text-left">{{$profissional['nome_semana']}}</td>
|
||||
<td class="text-left">{{$profissional['hora_inicial']}}</td>
|
||||
<td class="text-left">{{$profissional['hora_fim']}}</td>
|
||||
<td class="text-left">{{$profissional['status_nome']}}</td>
|
||||
<td class="text-left">
|
||||
{{$profissional['soma']}} / {{$profissional['vagas']}}
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
<tr>
|
||||
<td colspan="{{ count($params['columns']) }}">
|
||||
<div style="float:left;font-weight:600">
|
||||
Total de atendimento: {{$params['totalAtendimento']}}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="{{ count($params['columns']) }}">
|
||||
<div style="float:right;font-weight:600">
|
||||
Total de vagas: {{$params['vagaTotal']}}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -0,0 +1,142 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td style="text-align: center" colspan="{{ count($params['columns']) }}">
|
||||
<strong>RELATÓRIO DE EXAME POR STATUS</strong>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Período:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Unidade solicitante:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Unidade executante</strong>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
De: {{$params['periodo']['start'] }} até {{$params['periodo']['end'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{$params['solicitantes']}}
|
||||
</td>
|
||||
<td>
|
||||
{{$params['executantes']}}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Profissional executante:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Grupo:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Exames:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
{{$params['profissional'] ?? 'Todos' }}
|
||||
</td>
|
||||
<td>
|
||||
{{$params['grupo'] ?? 'Todos' }}
|
||||
</td>
|
||||
<td>
|
||||
{{$params['exame']}}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Status:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Número prontuário:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Código do exame:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
{{$params['status']}}
|
||||
</td>
|
||||
<td>
|
||||
{{$params['prontuario'] ?? 'Todos'}}
|
||||
</td>
|
||||
<td>
|
||||
{{$params['procedimento'] ?? 'Todos' }}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Paciente:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
{{$params['paciente']['cidadao']['nome'] ?? 'Todos' }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
@foreach ($params['columns'] as $coluna)
|
||||
<th>
|
||||
<strong>{{ $coluna['label'] }}</strong>
|
||||
</th>
|
||||
@endforeach
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach ($listagem as $item)
|
||||
<tr>
|
||||
@foreach ($params['columns'] as $coluna)
|
||||
<td>{{ $item[$coluna['key']] ?? '-' }}</td>
|
||||
@endforeach
|
||||
</tr>
|
||||
@endforeach
|
||||
<tr>
|
||||
<td colspan="{{ count($params['columns']) }}">
|
||||
<div style="float:left;">
|
||||
<strong>
|
||||
Total de paciente: {{$params['totalizandoPaciente']}}
|
||||
</strong>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="{{ count($params['columns']) }}">
|
||||
<div style="float:right;">
|
||||
<strong>
|
||||
Total de exame: {{$params['totalizandoExames']}}
|
||||
</strong>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="{{ count($params['columns']) }}">
|
||||
<div style="float:right;">
|
||||
<strong>
|
||||
Valor Total: {{$params['valorExames']}}
|
||||
</strong>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -0,0 +1,98 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td style="text-align: center" colspan="{{ count($params['columns']) }}">
|
||||
<strong>RELATÓRIO FINANCEIRO DE EXAMES</strong>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Período:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Unidade solicitante:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
De: {{$params['periodo']['start'] }} até {{$params['periodo']['end'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{$params['solicitantes']}}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Unidade executante</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Exames:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
{{$params['executantes']}}
|
||||
</td>
|
||||
<td>
|
||||
{{$params['exame']}}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Código procedimento:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
{{$params['procedimento'] ?? 'Todos' }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
@foreach ($params['columns'] as $coluna)
|
||||
<th>
|
||||
<strong>{{ $coluna['label'] }}</strong>
|
||||
</th>
|
||||
@endforeach
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach ($listagem as $financeiro)
|
||||
<tr>
|
||||
<td class="text-left">{{$financeiro['nome_procedimento']}}</td>
|
||||
<td class="text-left">{{$financeiro['procedimento']}}</td>
|
||||
<td class="text-left">{{$financeiro['exame_nome']}}</td>
|
||||
<td class="text-left">{{$financeiro['quantidade']}}</td>
|
||||
<td class="text-left">
|
||||
@php
|
||||
echo 'R$ '.number_format($financeiro['valor_unitario'], 2, ',', '.')
|
||||
@endphp
|
||||
</td>
|
||||
<td class="text-left">
|
||||
@php
|
||||
$total = $financeiro['quantidade'] * $financeiro['valor_unitario'];
|
||||
|
||||
echo 'R$ '.number_format($total, 2, ',', '.')
|
||||
@endphp
|
||||
</td>
|
||||
<td class="text-left">{{$financeiro['status_nome']}}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
<tr>
|
||||
<td style="text-align:left" colspan="{{ count($params['columns']) }}">
|
||||
<strong>
|
||||
Valor geral: R$: {{$params['totalGeral']}}
|
||||
</strong>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -0,0 +1,84 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td style="text-align: center" colspan="{{ count($busca['colunas']) }}">
|
||||
<strong>RELATÓRIO DE PRODUÇÃO</strong>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><strong>Período:</strong></td>
|
||||
<td><strong>Unidade Solicitante:</strong></td>
|
||||
<td><strong>Local de atendimento:</strong></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>De {{ $busca['inicio'] }} até {{ $busca['fim'] }}</td>
|
||||
<td>{{ $busca['unidadeSolicitante'] }}</td>
|
||||
<td>{{ $busca['infraestrutura_solicitante'] }}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><strong>Unidade Executante:</strong></td>
|
||||
<td><strong>Local de atendimento:</strong></td>
|
||||
<td><strong>Status:</strong></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{{ $busca['unidadeExecutante'] }}</td>
|
||||
<td>{{ $busca['infraestrutura_executante'] }}</td>
|
||||
<td>{{ $busca['status'] }}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><strong>Procedimentos:</strong></td>
|
||||
<td><strong>Exames:</strong></td>
|
||||
<td><strong>Ocupação:</strong></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{{ $busca['procedimento_nome'] }}</td>
|
||||
<td>{{ $busca['exame'] }}</td>
|
||||
<td>{{ $busca['ocupacao'] }}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><strong>Profissional:</strong></td>
|
||||
<td><strong>Prestador:</strong></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{{ $busca['profissional'] }}</td>
|
||||
<td>{{ $busca['prestador'] }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
@foreach ($busca['colunas'] as $coluna)
|
||||
<th>
|
||||
<strong>{{ $coluna['label'] }}</strong>
|
||||
</th>
|
||||
@endforeach
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach ($itens as $item)
|
||||
<tr>
|
||||
@foreach($busca['colunas'] as $coluna)
|
||||
<td>{{ $item[$coluna['key']] ?? '-' }}</td>
|
||||
@endforeach
|
||||
</tr>
|
||||
@endforeach
|
||||
<tr>
|
||||
<td style="text-align:right" colspan="{{ count($busca['colunas']) }}">
|
||||
<strong>
|
||||
@foreach($busca['totalExames'] as $total)
|
||||
Total geral de exames: {{$total}}
|
||||
@endforeach
|
||||
</strong>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
Reference in New Issue
Block a user