This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exports\ExameLaboratorial;
|
||||
|
||||
use App\Services\ExameLaboratorial\RelatorioExameSolicitadoStatusService;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Maatwebsite\Excel\Concerns\FromView;
|
||||
|
||||
class ExportExameSolicitadoStatus implements FromView
|
||||
{
|
||||
|
||||
private const TITLE = 'RELATÓRIO DE EXAMES SOLICITADOS POR STATUS';
|
||||
private const VIEW = 'exportacoes.exame-laboratorial.exame-solicitado-status';
|
||||
|
||||
public function view(): View
|
||||
{
|
||||
$data = RelatorioExameSolicitadoStatusService::index();
|
||||
$data['title'] = self::TITLE;
|
||||
|
||||
return view(self::VIEW, $data);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user