Files
rkm-conectasus-ci-sandbox/api/app/Exports/ExameLaboratorial/ExportQuantitativoExameSolicitado.php
Antonio Lopes dos Santos afec302c3e
All checks were successful
build-api-image / build (push) Successful in 51s
init commit
2026-08-04 16:52:02 -03:00

23 lines
629 B
PHP

<?php
namespace App\Exports\ExameLaboratorial;
use App\Services\ExameLaboratorial\RelatorioQuantitativoExameSolicitadoService;
use Illuminate\Contracts\View\View;
use Maatwebsite\Excel\Concerns\FromView;
class ExportQuantitativoExameSolicitado implements FromView
{
private const TITLE = 'RELATÓRIO QUANTITATIVO DE EXAME SOLICITADO';
private const VIEW = 'exportacoes.exame-laboratorial.quantitativo-exame-solicitado';
public function view(): View
{
$data = RelatorioQuantitativoExameSolicitadoService::index();
$data['title'] = self::TITLE;
return view(self::VIEW, $data);
}
}