This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exports\ExameImagem\Relatorios;
|
||||
|
||||
use App\Services\ExameImagem\RelatorioFinanceiroExameService;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Maatwebsite\Excel\Concerns\FromView;
|
||||
|
||||
class ExportFinanceiroExame implements FromView
|
||||
{
|
||||
private const VIEW = 'exportacoes.exame-imagem.relatorios.export-financeiro-exame';
|
||||
|
||||
public function view(): View
|
||||
{
|
||||
return view(self::VIEW, [
|
||||
'listagem' => RelatorioFinanceiroExameService::index(),
|
||||
'params' => request()->all()
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user