22 lines
574 B
PHP
22 lines
574 B
PHP
<?php
|
|
|
|
namespace App\Exports\ExameLaboratorial;
|
|
|
|
use App\Services\ExameLaboratorial\RelatorioExameBloqueadoService;
|
|
use Illuminate\Contracts\View\View;
|
|
use Maatwebsite\Excel\Concerns\FromView;
|
|
|
|
class ExportExameBloqueado implements FromView
|
|
{
|
|
private const TITLE = 'RELATÓRIO DE EXAME BLOQUEADO';
|
|
private const VIEW = 'exportacoes.exame-laboratorial.exame-bloqueado';
|
|
|
|
public function view(): View
|
|
{
|
|
$data = RelatorioExameBloqueadoService::getPrintExportData();
|
|
$data['title'] = self::TITLE;
|
|
|
|
return view(self::VIEW, $data);
|
|
}
|
|
}
|