This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td style="text-align: center" colspan="2">
|
||||
<strong>{{$title}}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><strong>Período</strong></td>
|
||||
<td><strong>Unidade</strong></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>De {{$periodo['inicio']}} até {{$periodo['fim']}}</td>
|
||||
<td>{{$unidade}}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><strong>Local de atendimento</strong></td>
|
||||
<td><strong>Medicamento</strong></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{{$infraestrutura}}</td>
|
||||
<td>{{$material}}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><strong>Paciente</strong></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{{$paciente}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
@foreach ($colunas as $coluna)
|
||||
<th>
|
||||
<strong>{{$coluna['label']}}</strong>
|
||||
</th>
|
||||
@endforeach
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach ($data['itens'] as $item)
|
||||
<tr>
|
||||
@foreach ($colunas as $coluna)
|
||||
<td>{{$item->{$coluna['key']} ?? '-'}}</td>
|
||||
@endforeach
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
Reference in New Issue
Block a user