21 lines
539 B
PHP
21 lines
539 B
PHP
<?php
|
|
|
|
namespace App\Exports\ExameImagem\Relatorios;
|
|
|
|
use App\Services\ExameImagem\RelatorioCotaProfissionalService;
|
|
use Illuminate\Contracts\View\View;
|
|
use Maatwebsite\Excel\Concerns\FromView;
|
|
|
|
class ExportCotaProfissional implements FromView
|
|
{
|
|
private const VIEW = 'exportacoes.exame-imagem.relatorios.export-cota-profissional';
|
|
|
|
public function view(): View
|
|
{
|
|
return view(self::VIEW, [
|
|
'listagem' => RelatorioCotaProfissionalService::index(),
|
|
'params' => request()->all()
|
|
]);
|
|
}
|
|
}
|