This commit is contained in:
22
api/app/Exports/ExameLaboratorial/ExportColetaRealizada.php
Normal file
22
api/app/Exports/ExameLaboratorial/ExportColetaRealizada.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exports\ExameLaboratorial;
|
||||
|
||||
use App\Services\ExameLaboratorial\RelatorioColetaRealizadaService;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Maatwebsite\Excel\Concerns\FromView;
|
||||
|
||||
class ExportColetaRealizada implements FromView
|
||||
{
|
||||
|
||||
private const TITLE = 'RELATÓRIO DE COLETAS REALIZADAS';
|
||||
private const VIEW = 'exportacoes.exame-laboratorial.coleta-realizada';
|
||||
|
||||
public function view(): View
|
||||
{
|
||||
$data = RelatorioColetaRealizadaService::index();
|
||||
$data['title'] = self::TITLE;
|
||||
|
||||
return view(self::VIEW, $data);
|
||||
}
|
||||
}
|
||||
22
api/app/Exports/ExameLaboratorial/ExportCotaConsumo.php
Normal file
22
api/app/Exports/ExameLaboratorial/ExportCotaConsumo.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exports\ExameLaboratorial;
|
||||
|
||||
use App\Services\ExameLaboratorial\RelatorioCotaConsumoService;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Maatwebsite\Excel\Concerns\FromView;
|
||||
|
||||
class ExportCotaConsumo implements FromView
|
||||
{
|
||||
|
||||
private const TITLE = 'RELATÓRIO DE COTA E CONSUMO';
|
||||
private const VIEW = 'exportacoes.exame-laboratorial.export-cota-consumo';
|
||||
|
||||
public function view(): View
|
||||
{
|
||||
$data = RelatorioCotaConsumoService::index();
|
||||
$data['title'] = self::TITLE;
|
||||
|
||||
return view(self::VIEW, $data);
|
||||
}
|
||||
}
|
||||
21
api/app/Exports/ExameLaboratorial/ExportExameBloqueado.php
Normal file
21
api/app/Exports/ExameLaboratorial/ExportExameBloqueado.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exports\ExameLaboratorial;
|
||||
|
||||
use App\Services\ExameLaboratorial\RelatorioExameBloqueadoService;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Maatwebsite\Excel\Concerns\FromView;
|
||||
|
||||
class ExportExameBloqueado implements FromView
|
||||
{
|
||||
private const TITLE = 'RELATÓRIO DE EXAME BLOQUEADO';
|
||||
private const VIEW = 'exportacoes.exame-laboratorial.exame-bloqueado';
|
||||
|
||||
public function view(): View
|
||||
{
|
||||
$data = RelatorioExameBloqueadoService::getPrintExportData();
|
||||
$data['title'] = self::TITLE;
|
||||
|
||||
return view(self::VIEW, $data);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exports\ExameLaboratorial;
|
||||
|
||||
use App\Services\ExameLaboratorial\RelatorioExameLaboratorioApoioService;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Maatwebsite\Excel\Concerns\FromView;
|
||||
|
||||
class ExportExameLaboratorioApoio implements FromView
|
||||
{
|
||||
|
||||
private const TITLE = 'RELATÓRIO DE EXAME PARA LABORATÓRIO DE APOIO';
|
||||
private const VIEW = 'exportacoes.exame-laboratorial.exame-laboratorio-apoio';
|
||||
|
||||
public function view(): View
|
||||
{
|
||||
$data = RelatorioExameLaboratorioApoioService::index();
|
||||
$data['title'] = self::TITLE;
|
||||
|
||||
return view(self::VIEW, $data);
|
||||
}
|
||||
}
|
||||
22
api/app/Exports/ExameLaboratorial/ExportExameProducao.php
Normal file
22
api/app/Exports/ExameLaboratorial/ExportExameProducao.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exports\ExameLaboratorial;
|
||||
|
||||
use App\Services\ExameLaboratorial\RelatorioExameProducaoService;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Maatwebsite\Excel\Concerns\FromView;
|
||||
|
||||
class ExportExameProducao implements FromView
|
||||
{
|
||||
|
||||
private const TITLE = 'RELATÓRIO DE PRODUÇÃO';
|
||||
private const VIEW = 'exportacoes.exame-laboratorial.exame-producao';
|
||||
|
||||
public function view(): View
|
||||
{
|
||||
$data = RelatorioExameProducaoService::index();
|
||||
$data['title'] = self::TITLE;
|
||||
|
||||
return view(self::VIEW, $data);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exports\ExameLaboratorial;
|
||||
|
||||
use App\Services\ExameLaboratorial\RelatorioExameSolicitadoStatusService;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Maatwebsite\Excel\Concerns\FromView;
|
||||
|
||||
class ExportExameSolicitadoStatus implements FromView
|
||||
{
|
||||
|
||||
private const TITLE = 'RELATÓRIO DE EXAMES SOLICITADOS POR STATUS';
|
||||
private const VIEW = 'exportacoes.exame-laboratorial.exame-solicitado-status';
|
||||
|
||||
public function view(): View
|
||||
{
|
||||
$data = RelatorioExameSolicitadoStatusService::index();
|
||||
$data['title'] = self::TITLE;
|
||||
|
||||
return view(self::VIEW, $data);
|
||||
}
|
||||
}
|
||||
22
api/app/Exports/ExameLaboratorial/ExportFinanceiroExame.php
Normal file
22
api/app/Exports/ExameLaboratorial/ExportFinanceiroExame.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exports\ExameLaboratorial;
|
||||
|
||||
use App\Services\ExameLaboratorial\RelatorioFinanceiroExameService;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Maatwebsite\Excel\Concerns\FromView;
|
||||
|
||||
class ExportFinanceiroExame implements FromView
|
||||
{
|
||||
|
||||
private const TITLE = 'RELATÓRIO FINANCEIRO DE EXAME';
|
||||
private const VIEW = 'exportacoes.exame-laboratorial.financeiro-exame';
|
||||
|
||||
public function view(): View
|
||||
{
|
||||
$data = RelatorioFinanceiroExameService::index();
|
||||
$data['title'] = self::TITLE;
|
||||
|
||||
return view(self::VIEW, $data);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exports\ExameLaboratorial;
|
||||
|
||||
use App\Services\ExameLaboratorial\RelatorioFinanceiroPacienteService;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Maatwebsite\Excel\Concerns\FromView;
|
||||
|
||||
class ExportFinanceiroPaciente implements FromView
|
||||
{
|
||||
private const TITLE = 'RELATÓRIO FINANCEIRO POR PACIENTE';
|
||||
private const VIEW = 'exportacoes.exame-laboratorial.financeiro-paciente';
|
||||
|
||||
public function view(): View
|
||||
{
|
||||
$data = RelatorioFinanceiroPacienteService::index();
|
||||
$data['title'] = self::TITLE;
|
||||
|
||||
return view(self::VIEW, $data);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exports\ExameLaboratorial;
|
||||
|
||||
use App\Services\ExameLaboratorial\RelatorioHistoricoPacienteService;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Maatwebsite\Excel\Concerns\FromView;
|
||||
|
||||
class ExportHistoricoPaciente implements FromView
|
||||
{
|
||||
|
||||
private const TITLE = 'RELATÓRIO DE HISTÓRICO DO PACIENTE';
|
||||
private const VIEW = 'exportacoes.exame-laboratorial.historico-paciente';
|
||||
|
||||
public function view(): View
|
||||
{
|
||||
$data = RelatorioHistoricoPacienteService::index();
|
||||
$data['title'] = self::TITLE;
|
||||
|
||||
return view(self::VIEW, $data);
|
||||
}
|
||||
}
|
||||
21
api/app/Exports/ExameLaboratorial/ExportPacienteAtendido.php
Normal file
21
api/app/Exports/ExameLaboratorial/ExportPacienteAtendido.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exports\ExameLaboratorial;
|
||||
|
||||
use App\Services\ExameLaboratorial\RelatorioPacienteAtendidoService;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Maatwebsite\Excel\Concerns\FromView;
|
||||
|
||||
class ExportPacienteAtendido implements FromView
|
||||
{
|
||||
private const TITLE = 'RELATÓRIO DE PACIENTE ATENDIDO';
|
||||
private const VIEW = 'exportacoes.exame-laboratorial.paciente-atendido';
|
||||
|
||||
public function view(): View
|
||||
{
|
||||
$data = RelatorioPacienteAtendidoService::getPrintExportData();
|
||||
$data['title'] = self::TITLE;
|
||||
|
||||
return view(self::VIEW, $data);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exports\ExameLaboratorial;
|
||||
|
||||
use App\Services\ExameLaboratorial\RelatorioQuantitativoExameSolicitadoService;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Maatwebsite\Excel\Concerns\FromView;
|
||||
|
||||
class ExportQuantitativoExameSolicitado implements FromView
|
||||
{
|
||||
|
||||
private const TITLE = 'RELATÓRIO QUANTITATIVO DE EXAME SOLICITADO';
|
||||
private const VIEW = 'exportacoes.exame-laboratorial.quantitativo-exame-solicitado';
|
||||
|
||||
public function view(): View
|
||||
{
|
||||
$data = RelatorioQuantitativoExameSolicitadoService::index();
|
||||
$data['title'] = self::TITLE;
|
||||
|
||||
return view(self::VIEW, $data);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exports\ExameLaboratorial;
|
||||
|
||||
use App\Services\ExameLaboratorial\RelatorioQuantitativoProducaoService;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Maatwebsite\Excel\Concerns\FromView;
|
||||
|
||||
class ExportQuantitativoProducao implements FromView
|
||||
{
|
||||
|
||||
private const TITLE = 'RELATÓRIO QUANTITATIVO DE PRODUÇÃO';
|
||||
private const VIEW = 'exportacoes.exame-laboratorial.quantitativo-producao';
|
||||
|
||||
public function view(): View
|
||||
{
|
||||
$data = RelatorioQuantitativoProducaoService::index();
|
||||
$data['title'] = self::TITLE;
|
||||
|
||||
return view(self::VIEW, $data);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user