Files
2025-11-18 17:57:58 +01:00

25 lines
907 B
PHP

<?php
use App\Actions\Generate\ExcelAufstellung;
use App\Actions\Generate\ExcelNutzwerte;
use App\Actions\Generate\PdfGenerator;
use Filament\Http\Middleware\Authenticate;
use Illuminate\Support\Facades\Route;
Route::get('/', function () {
return view('pages.welcome');
});
Route::get('/nutzwerte', function () {
return view('pages.nutzwerte');
});
Route::get('/programm', function () {
return view('pages.programm');
});
Route::get('/impressum', function () {
return view('pages.impressum');
});
Route::middleware(Authenticate::class)->get('/app/pdf/{record}/{part}', [PdfGenerator::class, 'make'])->name('pdf');
Route::middleware(Authenticate::class)->get('/app/excelnutzwerte/{record}', [ExcelNutzwerte::class, 'make'])->name('excelnutzwerte');
Route::middleware(Authenticate::class)->get('/app/excelaufstellung/{record}', [ExcelAufstellung::class, 'make'])->name('excelaufstellung');