Files
rkm-conectasus-ci-sandbox/api/app/Exports/AtencaoBasica/Relatorios/RelatorioEstatisticoPacienteCadastrado.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

21 lines
605 B
PHP

<?php
namespace App\Exports\AtencaoBasica\Relatorios;
use App\Services\AtencaoBasica\RelatorioEstatisticoPacienteCadastradoService;
use Illuminate\Contracts\View\View;
use Maatwebsite\Excel\Concerns\FromView;
class RelatorioEstatisticoPacienteCadastrado implements FromView
{
private const VIEW = 'exportacoes.atencao-basica.relatorios.relatorio-estatistico-paciente-cadastrado';
public function view(): View
{
return view(self::VIEW, [
'relatorio' => RelatorioEstatisticoPacienteCadastradoService::index(),
'params' => request()->all()
]);
}
}