fix: restore Rappasoft tables + fix boot errors from security commit

- Restore UserTable/CompanyTable/ProjectTable usage in users, companies and projects-list pages (security commit had replaced them with plain HTML/DaisyUI tables, losing sorting/search/pagination/format)
- Add missing User->company() belongsTo relationship (UserTable eager loads it; column + migration existed but relation was undefined)
- Add #[Layout] attribute to CompanyManagement/ProjectList/PhaseProgress full-page Livewire components
- Fix config/session.php: use env() instead of app()->environment() which fails during LoadConfiguration (env binding not yet registered)
- Remove duplicate activeTab property in ProjectMap (fatal PHP error)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-17 09:32:07 +02:00
parent f8a1310c0f
commit a24c8a2c2e
9 changed files with 29 additions and 374 deletions
+1 -2
View File
@@ -169,8 +169,7 @@ return [
|
*/
// Default to true in production; set SESSION_SECURE_COOKIE=false in local .env if needed
'secure' => env('SESSION_SECURE_COOKIE', app()->environment('production')),
'secure' => env('SESSION_SECURE_COOKIE', env('APP_ENV', 'production') === 'production'),
/*
|--------------------------------------------------------------------------