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,85 @@
<table>
<tr>
<td style="text-align: center" colspan="{{ count($params['columns']) }}">
RELATÓRIO DE PLANTÃO
</td>
</tr>
<tr>
<td>
<strong>Período de:</strong>
</td>
<td>
<strong>Até: </strong>
</td>
</tr>
<tr>
<td>
{{ $params['periodo']['date']['start'] }}
@if (!empty($params['periodo']['time']['start']))
as {{ $params['periodo']['time']['start'] }}
@endif
</td>
<td>
{{ $params['periodo']['date']['end'] }}
@if (!empty($params['periodo']['time']['end']))
as {{ $params['periodo']['time']['end'] }}
@endif
</td>
</tr>
<tr>
<td>
<strong>Unidade:</strong>
</td>
<td>
<strong>Local de atendimento:</strong>
</td>
</tr>
<tr>
<td>
{{ $params['unidade'] }}
</td>
<td>
{{ $params['local_atendimento'] }}
</td>
</tr>
<tr>
<td>
<strong>Especialidade:</strong>
</td>
<td>
<strong>Profissional:</strong>
</td>
</tr>
<tr>
<td>
{{ $params['especialidade'] }}
</td>
<td>
{{ $params['profissional'] }}
</td>
</tr>
</table>
<table>
<thead>
<tr>
@foreach($params['columns'] as $coluna)
<th>{{ $coluna['label'] }}</th>
@endforeach
</tr>
</thead>
<tbody>
@foreach ($plantoes as $plantao)
<tr>
@foreach($params['columns'] as $coluna)
<td>{{ $plantao[$coluna['key']] }}</td>
@endforeach
</tr>
@endforeach
</tbody>
</table>