22 lines
530 B
PHP
22 lines
530 B
PHP
<?php
|
|
|
|
namespace App\Exports\Integracao\Ria;
|
|
|
|
use App\Services\Integracao\Ria\RelatorioEnvioService;
|
|
use Illuminate\Contracts\View\View;
|
|
use Maatwebsite\Excel\Concerns\FromView;
|
|
|
|
class RelatorioEnvio implements FromView
|
|
{
|
|
private const TITLE = 'RELATÓRIO DE ENVIO';
|
|
private const VIEW = 'exportacoes.integracao.ria.relatorio-envio';
|
|
|
|
public function view(): View
|
|
{
|
|
$data = RelatorioEnvioService::getPrintExportData();
|
|
$data['title'] = self::TITLE;
|
|
|
|
return view(self::VIEW, $data);
|
|
}
|
|
}
|