14-04-2026
This commit is contained in:
parent
f58c709945
commit
0f82fea88a
72 changed files with 7414 additions and 148 deletions
35
dev/payment-dashboard/routes/payment-dashboard.php
Normal file
35
dev/payment-dashboard/routes/payment-dashboard.php
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
<?php
|
||||
|
||||
use App\Http\Controllers\PaymentDashboardController;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
// ─── Payment Dashboard Routes ─────────────────────────────────────────────────
|
||||
// In web.php einbinden mit: require base_path('routes/payment-dashboard.php');
|
||||
// Oder direkt in web.php einfügen.
|
||||
|
||||
Route::prefix('payment-dashboard')->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');
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue