feat: Add client portal with project selection, progress overview, gallery, and change order approval

This commit is contained in:
2026-05-25 15:57:06 +02:00
parent 4f5569a156
commit 8ca8dfbccc
5 changed files with 636 additions and 1 deletions
+8 -1
View File
@@ -90,6 +90,13 @@ Route::get('/reports/dashboard', ReportsDashboard::class)->name('reports.dashboa
// Rutas para el LayerManager:
Route::get('/projects/{project}/phases/{phase}/layers/manage', \App\Livewire\LayerManager::class)->name('layers.manage');
// Cliente: portal cliente
Route::middleware(['auth', 'role:client'])->prefix('client')->name('client.')->group(function () {
Route::get('/', function () {
return view('client.dashboard');
})->name('dashboard');
});
// Admin: gestión de usuarios y roles
Route::middleware(['can:manage all'])->prefix('admin')->name('admin.')->group(function () {
Route::get('/users', function () {
@@ -121,4 +128,4 @@ Route::get('/reports/dashboard', ReportsDashboard::class)->name('reports.dashboa
});
// Incluir rutas de autenticación (login, registro, recuperación de contraseña, logout)
require __DIR__ . '/auth.php';
require __DIR__ . '/auth.php';