This commit is contained in:
@@ -0,0 +1,106 @@
|
||||
@extends('impressoes.layout1.content')
|
||||
|
||||
@section('conteudo')
|
||||
<style>
|
||||
.table-relatorio > thead > tr > th,
|
||||
.table-relatorio > tfoot > tr > th { text-align: center; }
|
||||
.col-min { width: 1%; }
|
||||
.text-center { text-align: center !important; }
|
||||
</style>
|
||||
|
||||
<fieldset>
|
||||
<legend>Filtros</legend>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-1">
|
||||
<strong>Ano</strong>
|
||||
|
||||
<div>
|
||||
{{ $ano }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-1">
|
||||
<strong>Mês</strong>
|
||||
|
||||
<div>
|
||||
{{ $mes }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-5">
|
||||
<strong>Unidade</strong>
|
||||
|
||||
<div>
|
||||
{{ $unidade }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-5">
|
||||
<strong>CBO</strong>
|
||||
|
||||
<div>
|
||||
{{ $ocupacao }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
<strong>Procedimento</strong>
|
||||
|
||||
<div>
|
||||
{{ $procedimento }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-2">
|
||||
<strong>Inconsistência</strong>
|
||||
|
||||
<div>
|
||||
{{ $comInconsistencia }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-2">
|
||||
<strong>Idade de</strong>
|
||||
|
||||
<div>
|
||||
{{ $idadeDe }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-2">
|
||||
<strong>Idade até</strong>
|
||||
|
||||
<div>
|
||||
{{ $idadeAte }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<table class="table table-relatorio">
|
||||
<thead>
|
||||
<tr>
|
||||
@foreach ($colunas as $coluna)
|
||||
<th class="{{ $coluna['class'] }}">{{ $coluna['label'] }}</th>
|
||||
@endforeach
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach ($itens as $item)
|
||||
<tr>
|
||||
@foreach ($colunas as $coluna)
|
||||
<td class="{{ $coluna['class'] }}">{{ $item->{$coluna['key']} ?? '-' }}</td>
|
||||
@endforeach
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
<tr>
|
||||
<th colspan="{{ $colunas->count() }}" style="text-align: center;">Total de procedimentos: {{ $totalizadores->quantidade }}</th>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@endsection
|
||||
@@ -0,0 +1,108 @@
|
||||
@extends('impressoes.layout1.content')
|
||||
|
||||
@section('conteudo')
|
||||
<style>
|
||||
.table-relatorio > thead > tr > th,
|
||||
.table-relatorio > tfoot > tr > th { text-align: center; }
|
||||
.col-min { width: 1%; }
|
||||
.text-center { text-align: center !important; }
|
||||
</style>
|
||||
|
||||
<fieldset>
|
||||
<legend>Filtros</legend>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-1">
|
||||
<strong>Ano</strong>
|
||||
|
||||
<div>
|
||||
{{ $ano }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-1">
|
||||
<strong>Mês</strong>
|
||||
|
||||
<div>
|
||||
{{ $mes }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-5">
|
||||
<strong>Unidade</strong>
|
||||
|
||||
<div>
|
||||
{{ $unidade }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-5">
|
||||
<strong>CBO</strong>
|
||||
|
||||
<div>
|
||||
{{ $ocupacao }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-4">
|
||||
<strong>Profissional</strong>
|
||||
|
||||
<div>
|
||||
{{ $usuario }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-5">
|
||||
<strong>Procedimento</strong>
|
||||
|
||||
<div>
|
||||
{{ $procedimento }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-3">
|
||||
<strong>CID</strong>
|
||||
|
||||
<div>
|
||||
{{ $cid }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-2">
|
||||
<strong>Inconsistência</strong>
|
||||
|
||||
<div>
|
||||
{{ $comInconsistencia }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<table class="table table-relatorio">
|
||||
<thead>
|
||||
<tr>
|
||||
@foreach ($colunas as $coluna)
|
||||
<th class="{{ $coluna['class'] }}">{{ $coluna['label'] }}</th>
|
||||
@endforeach
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach ($itens as $item)
|
||||
<tr>
|
||||
@foreach ($colunas as $coluna)
|
||||
<td class="{{ $coluna['class'] }}">{{ $item->{$coluna['key']} ?? '-' }}</td>
|
||||
@endforeach
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
<tr>
|
||||
<th colspan="{{ $colunas->count() }}" style="text-align: center;">Total de procedimentos: {{ $totalizadores->quantidade }}</th>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@endsection
|
||||
@@ -0,0 +1,126 @@
|
||||
@extends('impressoes.layout1.content')
|
||||
|
||||
@section('conteudo')
|
||||
<style>
|
||||
.table-relatorio > thead > tr > th,
|
||||
.table-relatorio > tfoot > tr > th { text-align: center; }
|
||||
.col-min { width: 1%; }
|
||||
.text-center { text-align: center !important; }
|
||||
</style>
|
||||
|
||||
<fieldset>
|
||||
<legend>Filtros</legend>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-1">
|
||||
<strong>Ano</strong>
|
||||
|
||||
<div>
|
||||
{{ $ano }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-1">
|
||||
<strong>Mês</strong>
|
||||
|
||||
<div>
|
||||
{{ $mes }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-4">
|
||||
<strong>Módulo de origem</strong>
|
||||
|
||||
<div>
|
||||
{{ $origem }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-6">
|
||||
<strong>Unidade</strong>
|
||||
|
||||
<div>
|
||||
{{ $unidade }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-3">
|
||||
<strong>Idade de</strong>
|
||||
|
||||
<div>
|
||||
{{ $idadeDe }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-3">
|
||||
<strong>Idade até</strong>
|
||||
|
||||
<div>
|
||||
{{ $idadeAte }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-6">
|
||||
<strong>CBO</strong>
|
||||
|
||||
<div>
|
||||
{{ $ocupacao }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
<strong>Profissional</strong>
|
||||
|
||||
<div>
|
||||
{{ $usuario }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-6">
|
||||
<strong>Procedimento</strong>
|
||||
|
||||
<div>
|
||||
{{ $procedimento }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-3">
|
||||
<strong>Status</strong>
|
||||
|
||||
<div>
|
||||
{{ $status }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<table class="table table-relatorio">
|
||||
<thead>
|
||||
<tr>
|
||||
@foreach ($colunas as $coluna)
|
||||
<th class="{{ $coluna['class'] }}">{{ $coluna['label'] }}</th>
|
||||
@endforeach
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach ($itens as $item)
|
||||
<tr>
|
||||
@foreach ($colunas as $coluna)
|
||||
<td class="{{ $coluna['class'] }}">{{ $item->{$coluna['key']} ?? '-' }}</td>
|
||||
@endforeach
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
<tr>
|
||||
<th colspan="{{ $colunas->count() }}" style="text-align: center;">Total de procedimentos: {{ $totalizadores->quantidade }}</th>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user