This commit is contained in:
salam committed 2025-11-16 13:08:51 +01:00
1 parent 17ed7b7f8f
commit c9cac0903a
24 files changed
+122 -4431

No files matched your search

+4 -2
View File
@@ -2,6 +2,7 @@
use App\Actions\Generate\Excel;
use App\Actions\Generate\Pdf;
use App\Actions\Generate\PdfGenerator;
use Filament\Http\Middleware\Authenticate;
use Illuminate\Support\Facades\Route;
@@ -18,5 +19,6 @@ Route::get('/impressum', function () {
return view('pages.impressum');
});
Route::middleware(Authenticate::class)->get('/app/pdf/{record}/{type}/{mode}', [Pdf::class, 'make'])->name('pdf');
Route::middleware(Authenticate::class)->get('/app/excel/{record}/{type}', [Excel::class, 'make'])->name('excel');
// Route::middleware(Authenticate::class)->get('/app/pdf/{record}/{part}', [Pdf::class, 'make'])->name('pdf');
Route::middleware(Authenticate::class)->get('/app/pdf/{record}/{part}', [PdfGenerator::class, 'make'])->name('pdf');
Route::middleware(Authenticate::class)->get('/app/excel/{record}/{part}', [Excel::class, 'make'])->name('excel');