feat: Add client portal with project selection, progress overview, gallery, and change order approval
This commit is contained in:
+8
-1
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user