18 lines
428 B
PHP
18 lines
428 B
PHP
<?php
|
|
|
|
namespace App\Exports\Regulacao;
|
|
|
|
use App\Services\Regulacao\RelatorioSolicitacaoService;
|
|
use Illuminate\Contracts\View\View;
|
|
use Maatwebsite\Excel\Concerns\FromView;
|
|
|
|
class RelatorioSolicitacao implements FromView
|
|
{
|
|
private const VIEW = 'exportacoes.regulacao.relatorio-solicitacao';
|
|
|
|
public function view(): View
|
|
{
|
|
return view(self::VIEW, RelatorioSolicitacaoService::getPrintExportData());
|
|
}
|
|
}
|