init commit
All checks were successful
build-api-image / build (push) Successful in 51s

This commit is contained in:
Antonio Lopes dos Santos
2026-08-04 16:52:02 -03:00
commit afec302c3e
11594 changed files with 1636728 additions and 0 deletions

View File

@@ -0,0 +1,142 @@
<table>
<tr>
<td style="text-align: center" colspan="{{ $colunas->count() }}">
<strong>{{ $title }}</strong>
</td>
</tr>
<tr>
<td><strong>Período:</strong></td>
<td><strong>Exame:</strong></td>
</tr>
<tr>
<td>De {{ $periodo['start'] }} até {{ $periodo['end'] }}</td>
<td>{{ $exame_nome }}</td>
</tr>
<tr>
<td><strong>Unidade de coleta:</strong></td>
<td><strong>Local de atendimento:</strong></td>
</tr>
<tr>
<td>{{ $coleta_unidade_nome }}</td>
<td>{{ $coleta_infraestrutura_nome }}</td>
</tr>
<tr>
<td><strong>Laboratório:</strong></td>
<td><strong>Local de atendimento:</strong></td>
</tr>
<tr>
<td>{{ $laboratorio_nome_fantasia }}</td>
<td>{{ $laboratorio_infraestrutura_nome }}</td>
</tr>
<tr>
<td><strong>Ocupação:</strong></td>
<td><strong>Profissional:</strong></td>
</tr>
<tr>
<td>{{ $ocupacao }}</td>
<td>{{ $profissional }}</td>
</tr>
<tr>
<td><strong>Procedimento:</strong></td>
<td><strong>Status:</strong></td>
</tr>
<tr>
<td>{{ $procedimento }}</td>
<td>{{ $status }}</td>
</tr>
<tr>
<td><strong>Idade de:</strong></td>
<td><strong>Idade até:</strong></td>
</tr>
<tr>
<td>{{ $idade_de }}</td>
<td>{{ $idade_ate }}</td>
</tr>
</table>
<table>
<thead>
<tr>
@foreach ($colunas as $coluna)
<th>
<strong>{{ $coluna['label'] }}</strong>
</th>
@endforeach
</tr>
</thead>
<tbody>
<tr>
<td>
@foreach ($unidade_coleta as $coleta)
<table>
@foreach ($coleta['exames'] as $agendamento)
<thead>
@if ($loop->first)
<tr>
<th colspan="{{ $colunas->count()}}">
<strong>
Unidade de coleta: {{ $coleta['coleta_nome_fantasia'] }}
- Local de atendimento: {{ $coleta['coleta_infraestrutura_nome'] }}
</strong>
</th>
</tr>
<tr>
<th colspan="{{ $colunas->count()}}">
<strong>
Laboratório: {{ $coleta['laboratorio_nome_fantasia'] }}
- Local de atendimento: {{ $coleta['laboratorio_infraestrutura_nome'] }}
</strong>
</th>
</tr>
@endif
@if ($loop->first)
<tr>
@foreach ($colunas as $coluna)
<th class="{{ $coluna['class'] }}">
<strong>
{{ $coluna['label'] }}
</strong>
</th>
@endforeach
</tr>
@endif
</thead>
<tbody>
<tr>
@foreach ($colunas as $coluna)
<td class="{{ $coluna['class'] }} background-white">
{{ $agendamento[$coluna['key']] ?? '-' }}
</td>
@endforeach
</tr>
@if ($loop->last)
<tr>
<th colspan="{{ $colunas->count() }}" style="text-align: right">
<strong>
Total de exames: {{$coleta['total']}}
</strong>
</th>
</tr>
@endif
</tbody>
@endforeach
</table>
@endforeach
</td>
</tr>
</tbody>
</table>