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