Files
rkm-conectasus-ci-sandbox/api/app/Exports/Ambulatorio/RelatorioRastreioFerida.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
577 B
PHP

<?php
namespace App\Exports\Ambulatorio;
use App\Services\Ambulatorio\RelatorioRastreioFeridaService;
use Illuminate\Contracts\View\View;
use Maatwebsite\Excel\Concerns\FromView;
class RelatorioRastreioFerida implements FromView
{
private const TITLE = 'RELATÓRIO RASTREIO DE FERIDA';
private const VIEW = 'exportacoes.ambulatorio.relatorio-rastreio-ferida';
public function view(): View
{
$data = RelatorioRastreioFeridaService::getPrintExportData();
$data['title'] = self::TITLE;
return view(self::VIEW, $data);
}
}