This commit is contained in:
21
api/app/Exports/Integracao/Bnafar/RelatorioEnvio.php
Normal file
21
api/app/Exports/Integracao/Bnafar/RelatorioEnvio.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exports\Integracao\Bnafar;
|
||||
|
||||
use App\Services\Integracao\Bnafar\RelatorioEnvioService;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Maatwebsite\Excel\Concerns\FromView;
|
||||
|
||||
class RelatorioEnvio implements FromView
|
||||
{
|
||||
private const TITLE = 'RELATÓRIO SOA BNAFAR';
|
||||
private const VIEW = 'exportacoes.integracao.bnafar.relatorio-envio';
|
||||
|
||||
public function view(): View
|
||||
{
|
||||
$data = RelatorioEnvioService::getPrintExportData();
|
||||
$data['title'] = self::TITLE;
|
||||
|
||||
return view(self::VIEW, $data);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user