This commit is contained in:
@@ -0,0 +1,104 @@
|
||||
<style>
|
||||
.table-relatorio>thead>tr>th,
|
||||
.table-relatorio>tfoot>tr>th {
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.col-min {
|
||||
width: 1%;
|
||||
}
|
||||
|
||||
.text-center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.linha-filtro {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
margin-top: 20px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="text-align: center" colspan="6">
|
||||
<strong>{{ $title }}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Competência</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Unidade</strong>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
{{ $competencia }}
|
||||
</td>
|
||||
|
||||
<td>
|
||||
{{ $unidade }}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Local de atendimento</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Profissional</strong>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
{{ $infraestrutura }}
|
||||
</td>
|
||||
|
||||
<td>
|
||||
{{ $usuario }}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Ficha</strong>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
{{ $ficha }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="table table-relatorio">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
@foreach ($colunas as $coluna)
|
||||
<th class="{{ $coluna['class'] }}"><strong>{{ $coluna['label'] }}</strong> </th>
|
||||
@endforeach
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach ($items as $item)
|
||||
<tr>
|
||||
@foreach ($colunas as $coluna)
|
||||
<td>
|
||||
{!! $item[$coluna['key']] ?? '-' !!}
|
||||
</td>
|
||||
@endforeach
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
Reference in New Issue
Block a user