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

22 lines
589 B
PHP

<?php
namespace App\Exports\TransportePaciente\Relatorios;
use App\Services\TransportePaciente\Relatorios\RelatorioViagemGeralService;
use Illuminate\Contracts\View\View;
use Maatwebsite\Excel\Concerns\FromView;
class ViagemGeral implements FromView
{
private const TITLE = 'RELATÓRIO DE VIAGEM GERAL';
private const VIEW = 'exportacoes.transporte-paciente.relatorios.viagem-geral';
public function view(): View
{
$data = RelatorioViagemGeralService::getPrintExportData();
$data['title'] = self::TITLE;
return view(self::VIEW, $data);
}
}