This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exports\Bpa\Relatorios;
|
||||
|
||||
use App\Services\Bpa\RelatorioBpaConsolidadoService;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Maatwebsite\Excel\Concerns\FromView;
|
||||
|
||||
class ExportRelatorioBpaConsolidado implements FromView
|
||||
{
|
||||
private const TITLE = 'RELATÓRIO DE BPA CONSOLIDADO';
|
||||
private const VIEW = 'exportacoes.bpa.relatorios.export-relatorio-bpa-consolidado';
|
||||
|
||||
public function view(): View
|
||||
{
|
||||
$data = RelatorioBpaConsolidadoService::getPrintExportData();
|
||||
$data['title'] = self::TITLE;
|
||||
|
||||
return view(self::VIEW, $data);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exports\Bpa\Relatorios;
|
||||
|
||||
use App\Services\Bpa\RelatorioBpaIndividualizadoService;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Maatwebsite\Excel\Concerns\FromView;
|
||||
|
||||
class ExportRelatorioBpaIndividualizado implements FromView
|
||||
{
|
||||
private const TITLE = 'RELATÓRIO DE BPA INDIVIDUALIZADO';
|
||||
private const VIEW = 'exportacoes.bpa.relatorios.export-relatorio-bpa-individualizado';
|
||||
|
||||
public function view(): View
|
||||
{
|
||||
$data = RelatorioBpaIndividualizadoService::getPrintExportData();
|
||||
$data['title'] = self::TITLE;
|
||||
|
||||
return view(self::VIEW, $data);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exports\Bpa\Relatorios;
|
||||
|
||||
use App\Services\Bpa\ExportRelatorioInconsistenciaService;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Maatwebsite\Excel\Concerns\FromView;
|
||||
|
||||
class ExportRelatorioInconsistencia implements FromView
|
||||
{
|
||||
private const VIEW = 'exportacoes.bpa.relatorios.export-relatorio-inconsistencia';
|
||||
private const TITLE = 'RELATÓRIO DE INCONSISTÊNCIAS';
|
||||
|
||||
public function view(): View
|
||||
{
|
||||
$data = ExportRelatorioInconsistenciaService::getPrintExportData();
|
||||
$data['title'] = self::TITLE;
|
||||
|
||||
return view(self::VIEW, $data);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exports\Bpa\Relatorios;
|
||||
|
||||
use App\Services\Bpa\RelatorioQuantitativoProducaoService;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Maatwebsite\Excel\Concerns\FromView;
|
||||
|
||||
class ExportRelatorioQuantitativoProducao implements FromView
|
||||
{
|
||||
private const TITLE = 'RELATÓRIO QUANTITATIVO DE PRODUÇÃO';
|
||||
private const VIEW = 'exportacoes.bpa.relatorios.export-relatorio-quantitativo-producao';
|
||||
|
||||
public function view(): View
|
||||
{
|
||||
$data = RelatorioQuantitativoProducaoService::getPrintExportData();
|
||||
$data['title'] = self::TITLE;
|
||||
|
||||
return view(self::VIEW, $data);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user