name('payment-dashboard.')->middleware(['auth'])->group(function () { // GF-Ansicht (Alois) – vereinfacht, nur lesen Route::get('/management', [PaymentDashboardController::class, 'management']) ->name('management'); // Entwickler-Ansicht (Kevin) – voller Zugriff Route::get('/', [PaymentDashboardController::class, 'developer']) ->name('developer'); // Incident Detail Route::get('/{incident}', [PaymentDashboardController::class, 'show']) ->name('show'); // Neuen Incident anlegen Route::post('/', [PaymentDashboardController::class, 'store']) ->name('store'); // Aktivität zu Incident hinzufügen Route::post('/{incident}/activity', [PaymentDashboardController::class, 'addActivity']) ->name('activity.store'); // Status eines Incidents ändern Route::patch('/{incident}/status', [PaymentDashboardController::class, 'updateStatus']) ->name('status.update'); });