From 3791379c415044452e52ab5eed181c043bdc2eda Mon Sep 17 00:00:00 2001 From: salam Date: Wed, 5 Nov 2025 14:07:28 +0100 Subject: [PATCH] wip help --- .../CreateProjektInhaltsverzeichnis.php | 2 +- app/Actions/Generate/Pdf/Inhalt.php | 2 +- app/Actions/Generate/Pdf/Ueberschrift.php | 2 +- .../Schemas/InhaltsverzeichnisForm.php | 24 +++++++++- ...ojektInhaltsverzeichnisRelationManager.php | 4 +- app/Models/Inhaltsverzeichnis.php | 2 +- app/Models/ProjektInhaltsverzeichnis.php | 2 +- bootstrap/cache/blade-icons.php | 10 ++-- bootstrap/cache/config.php | 36 +++++++------- bootstrap/cache/filament/panels/admin.php | 42 ++++++++-------- bootstrap/cache/routes-v7.php | 48 +++++++++---------- composer.lock | 10 ++-- ...170241_create_inhaltsverzeichnis_table.php | 4 +- ...reate_projekt_inhaltsverzeichnis_table.php | 2 +- database/seeders/InhaltsverzeichnisSeeder.php | 2 +- database/seeders/TestProjektSeeder.php | 2 +- 16 files changed, 108 insertions(+), 86 deletions(-) diff --git a/app/Actions/Create/CreateProjektInhaltsverzeichnis.php b/app/Actions/Create/CreateProjektInhaltsverzeichnis.php index b80a462..2c2b066 100644 --- a/app/Actions/Create/CreateProjektInhaltsverzeichnis.php +++ b/app/Actions/Create/CreateProjektInhaltsverzeichnis.php @@ -24,7 +24,7 @@ class CreateProjektInhaltsverzeichnis $inhalt->ordnungszahl = $value->ordnungszahl; $inhalt->name = $value->name; $inhalt->name2 = $value->name2; - $inhalt->ueberschrift_anzeigen = $value->ueberschrift_anzeigen; + $inhalt->ueberschrift_verbergen = $value->ueberschrift_verbergen; $inhalt->inhaltselement_id = $value->inhaltselement_id; $inhalt->part = $value->part; $inhalt->seite = $value->seite; diff --git a/app/Actions/Generate/Pdf/Inhalt.php b/app/Actions/Generate/Pdf/Inhalt.php index 735ac67..0d18e34 100644 --- a/app/Actions/Generate/Pdf/Inhalt.php +++ b/app/Actions/Generate/Pdf/Inhalt.php @@ -13,7 +13,7 @@ class Inhalt $html = ''; $inhalte = ProjektInhaltsverzeichnis::where('projekte_id', $projekte_id)->orderBy('sort')->get(); foreach ($inhalte as $inhalt) { - if ($inhalt->name != 'INHALTSVERZEICHNIS' && $inhalt->ueberschrift_anzeigen) { + if ($inhalt->name != 'INHALTSVERZEICHNIS' && $inhalt->ueberschrift_verbergen) { $html .= ''; $html .= Html::td(Format::index($inhalt->ordnungszahl), 'center'); $html .= Html::td($inhalt->name); diff --git a/app/Actions/Generate/Pdf/Ueberschrift.php b/app/Actions/Generate/Pdf/Ueberschrift.php index 3b96d19..7953ad7 100644 --- a/app/Actions/Generate/Pdf/Ueberschrift.php +++ b/app/Actions/Generate/Pdf/Ueberschrift.php @@ -8,7 +8,7 @@ class Ueberschrift { public static function load($inhalt) { - if ($inhalt->ueberschrift_anzeigen && $inhalt->inhaltselement_id != 9) { + if ($inhalt->ueberschrift_verbergen && $inhalt->inhaltselement_id != 9) { if ($inhalt->ordnungszahl * 1 > 0) { return '
'.Format::index($inhalt->ordnungszahl).' '.$inhalt->name.'
'; } else { diff --git a/app/Filament/Resources/Inhaltsverzeichnis/Schemas/InhaltsverzeichnisForm.php b/app/Filament/Resources/Inhaltsverzeichnis/Schemas/InhaltsverzeichnisForm.php index c0d089c..afe4c5a 100644 --- a/app/Filament/Resources/Inhaltsverzeichnis/Schemas/InhaltsverzeichnisForm.php +++ b/app/Filament/Resources/Inhaltsverzeichnis/Schemas/InhaltsverzeichnisForm.php @@ -5,9 +5,11 @@ namespace App\Filament\Resources\Inhaltsverzeichnis\Schemas; use App\Models\Inhaltselement; use App\Models\Textblock; use Filament\Forms\Components\Checkbox; +use Filament\Forms\Components\FileUpload; use Filament\Forms\Components\Select; use Filament\Forms\Components\Textarea; use Filament\Forms\Components\TextInput; +use Filament\Schemas\Components\Section; use Filament\Schemas\Components\Tabs; use Filament\Schemas\Components\Tabs\Tab; use Filament\Schemas\Schema; @@ -24,12 +26,30 @@ class InhaltsverzeichnisForm ->schema([ Checkbox::make('neue_seite') ->label('Start neuer Seite'), - Checkbox::make('ueberschrift_anzeigen') - ->label('Überschrift angezeigen'), + Checkbox::make('ueberschrift_verbergen') + ->label('Überschrift verbergen'), Textarea::make('name') ->required() ->label('Überschrift') ->columnSpan(3), + Section::make('Hilfe') + ->icon('phosphor-question') + ->schema([ + FileUpload::make('hilfe_bild') + ->image() + ->label('Bild') + ->disk('public') + ->maxSize(3072) // 3MB limit + ->acceptedFileTypes(['image/jpeg', 'image/png', 'image/webp']) + ->directory('gutachten_hilfe') + ->visibility('public') + ->columnSpanFull(), + Textarea::make('hilfe_text') + ->label('Text') + ->columnSpan(2), + ]) + ->collapsible() + ->columnSpan(3), ]), Tab::make('Kapitel Index') ->schema([ diff --git a/app/Filament/Resources/Projektes/RelationManagers/ProjektInhaltsverzeichnisRelationManager.php b/app/Filament/Resources/Projektes/RelationManagers/ProjektInhaltsverzeichnisRelationManager.php index c6f2f18..5c904e9 100644 --- a/app/Filament/Resources/Projektes/RelationManagers/ProjektInhaltsverzeichnisRelationManager.php +++ b/app/Filament/Resources/Projektes/RelationManagers/ProjektInhaltsverzeichnisRelationManager.php @@ -53,8 +53,8 @@ class ProjektInhaltsverzeichnisRelationManager extends RelationManager ->schema([ Checkbox::make('neue_seite') ->label('Start neuer Seite'), - // Checkbox::make('ueberschrift_anzeigen') - // ->label('Überschrift angezeigen'), + // Checkbox::make('ueberschrift_verbergen') + // ->label('Überschrift verbergen'), Textarea::make('name') ->required() ->label('Überschrift') diff --git a/app/Models/Inhaltsverzeichnis.php b/app/Models/Inhaltsverzeichnis.php index 89de610..726269e 100644 --- a/app/Models/Inhaltsverzeichnis.php +++ b/app/Models/Inhaltsverzeichnis.php @@ -8,7 +8,7 @@ class Inhaltsverzeichnis extends Model { protected $fillable = [ 'name', - 'ueberschrift_anzeigen', + 'ueberschrift_verbergen', 'inhaltselement_id', 'textblock_id', 'sort', diff --git a/app/Models/ProjektInhaltsverzeichnis.php b/app/Models/ProjektInhaltsverzeichnis.php index 6e3cc01..4f8aaf8 100644 --- a/app/Models/ProjektInhaltsverzeichnis.php +++ b/app/Models/ProjektInhaltsverzeichnis.php @@ -9,7 +9,7 @@ class ProjektInhaltsverzeichnis extends Model protected $fillable = [ 'projekte_id', 'name', - 'ueberschrift_anzeigen', + 'ueberschrift_verbergen', 'inhaltselement_id', 'sort', 'ordnungszahl', diff --git a/bootstrap/cache/blade-icons.php b/bootstrap/cache/blade-icons.php index 24cfd29..be5c76f 100755 --- a/bootstrap/cache/blade-icons.php +++ b/bootstrap/cache/blade-icons.php @@ -1,7 +1,7 @@ array ( - '/Users/hermanntelser/Sites/nutzwerte_fi4/resources/svg' => + '/Users/salam/Sites/nutzwerte_fi4/resources/svg' => array ( 0 => 'excel', 1 => 'logo', @@ -11,7 +11,7 @@ ), 'heroicons' => array ( - '/Users/hermanntelser/Sites/nutzwerte_fi4/vendor/blade-ui-kit/blade-heroicons/src/../resources/svg' => + '/Users/salam/Sites/nutzwerte_fi4/vendor/blade-ui-kit/blade-heroicons/src/../resources/svg' => array ( 0 => 'c-academic-cap', 1 => 'c-adjustments-horizontal', @@ -1305,7 +1305,7 @@ ), 'phosphor-icons' => array ( - '/Users/hermanntelser/Sites/nutzwerte_fi4/vendor/codeat3/blade-phosphor-icons/src/../resources/svg' => + '/Users/salam/Sites/nutzwerte_fi4/vendor/codeat3/blade-phosphor-icons/src/../resources/svg' => array ( 0 => 'acorn-bold', 1 => 'acorn-duotone', @@ -10383,7 +10383,7 @@ ), 'filament' => array ( - '/Users/hermanntelser/Sites/nutzwerte_fi4/vendor/filament/support/src/../resources/svg' => + '/Users/salam/Sites/nutzwerte_fi4/vendor/filament/support/src/../resources/svg' => array ( 0 => 'o-align-center', 1 => 'o-align-end', @@ -10420,7 +10420,7 @@ ), 'lucide' => array ( - '/Users/hermanntelser/Sites/nutzwerte_fi4/vendor/mallardduck/blade-lucide-icons/src/../resources/svg' => + '/Users/salam/Sites/nutzwerte_fi4/vendor/mallardduck/blade-lucide-icons/src/../resources/svg' => array ( 0 => 'a-arrow-down', 1 => 'a-arrow-up', diff --git a/bootstrap/cache/config.php b/bootstrap/cache/config.php index 9a018f7..95900ff 100644 --- a/bootstrap/cache/config.php +++ b/bootstrap/cache/config.php @@ -81,9 +81,9 @@ array ( 'paths' => array ( - 0 => '/Users/hermanntelser/Sites/nutzwerte_fi4/resources/views', + 0 => '/Users/salam/Sites/nutzwerte_fi4/resources/views', ), - 'compiled' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/framework/views', + 'compiled' => '/Users/salam/Sites/nutzwerte_fi4/storage/framework/views', ), 'cors' => array ( @@ -124,9 +124,9 @@ 'timezone' => 'UTC', 'locale' => 'de', 'fallback_locale' => 'en', - 'faker_locale' => 'at_AT', + 'faker_locale' => 'de_AT', 'cipher' => 'AES-256-CBC', - 'key' => 'base64:yRi9h21i7xAkGpeF7JoArovQJU1w6xwczQ6ijpYpJrs=', + 'key' => 'base64:zrVnUcBmUGjEV/EoAKnZCm/1FWplKu79kYBvevE2/ek=', 'previous_keys' => array ( ), @@ -301,8 +301,8 @@ 'file' => array ( 'driver' => 'file', - 'path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/framework/cache/data', - 'lock_path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/framework/cache/data', + 'path' => '/Users/salam/Sites/nutzwerte_fi4/storage/framework/cache/data', + 'lock_path' => '/Users/salam/Sites/nutzwerte_fi4/storage/framework/cache/data', ), 'memcached' => array ( @@ -522,7 +522,7 @@ ), 'policies' => array ( - 'path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Policies', + 'path' => '/Users/salam/Sites/nutzwerte_fi4/app/Policies', 'merge' => true, 'generate' => true, 'methods' => @@ -610,7 +610,7 @@ 'local' => array ( 'driver' => 'local', - 'root' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/app/private', + 'root' => '/Users/salam/Sites/nutzwerte_fi4/storage/app/private', 'serve' => true, 'throw' => false, 'report' => false, @@ -618,7 +618,7 @@ 'public' => array ( 'driver' => 'local', - 'root' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/app/public', + 'root' => '/Users/salam/Sites/nutzwerte_fi4/storage/app/public', 'url' => 'http://nutzwerte_fi4.test/storage', 'visibility' => 'public', 'throw' => false, @@ -640,7 +640,7 @@ 'promotion' => array ( 'driver' => 'local', - 'root' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/app/public/promotion', + 'root' => '/Users/salam/Sites/nutzwerte_fi4/storage/app/public/promotion', 'url' => 'http://nutzwerte_fi4.test/storage/promotion', 'visibility' => 'public', 'throw' => false, @@ -648,7 +648,7 @@ ), 'links' => array ( - '/Users/hermanntelser/Sites/nutzwerte_fi4/public/storage' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/app/public', + '/Users/salam/Sites/nutzwerte_fi4/public/storage' => '/Users/salam/Sites/nutzwerte_fi4/storage/app/public', ), ), 'logging' => @@ -673,14 +673,14 @@ 'single' => array ( 'driver' => 'single', - 'path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/logs/laravel.log', + 'path' => '/Users/salam/Sites/nutzwerte_fi4/storage/logs/laravel.log', 'level' => 'debug', 'replace_placeholders' => true, ), 'daily' => array ( 'driver' => 'daily', - 'path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/logs/laravel.log', + 'path' => '/Users/salam/Sites/nutzwerte_fi4/storage/logs/laravel.log', 'level' => 'debug', 'days' => 14, 'replace_placeholders' => true, @@ -745,7 +745,7 @@ ), 'emergency' => array ( - 'path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/logs/laravel.log', + 'path' => '/Users/salam/Sites/nutzwerte_fi4/storage/logs/laravel.log', ), ), ), @@ -844,7 +844,7 @@ 'theme' => 'default', 'paths' => array ( - 0 => '/Users/hermanntelser/Sites/nutzwerte_fi4/resources/views/vendor/mail', + 0 => '/Users/salam/Sites/nutzwerte_fi4/resources/views/vendor/mail', ), ), ), @@ -1033,7 +1033,7 @@ 'lifetime' => 120, 'expire_on_close' => false, 'encrypt' => false, - 'files' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/framework/sessions', + 'files' => '/Users/salam/Sites/nutzwerte_fi4/storage/framework/sessions', 'connection' => NULL, 'table' => 'sessions', 'store' => NULL, @@ -1081,7 +1081,7 @@ ), 'default_filesystem_disk' => 'local', 'assets_path' => NULL, - 'cache_path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/bootstrap/cache/filament', + 'cache_path' => '/Users/salam/Sites/nutzwerte_fi4/bootstrap/cache/filament', 'livewire_loading_delay' => 'default', 'file_generation' => array ( @@ -1094,7 +1094,7 @@ 'livewire' => array ( 'class_namespace' => 'App\\Livewire', - 'view_path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/resources/views/livewire', + 'view_path' => '/Users/salam/Sites/nutzwerte_fi4/resources/views/livewire', 'layout' => 'components.layouts.app', 'lazy_placeholder' => NULL, 'temporary_file_upload' => diff --git a/bootstrap/cache/filament/panels/admin.php b/bootstrap/cache/filament/panels/admin.php index 286575e..8c893e1 100644 --- a/bootstrap/cache/filament/panels/admin.php +++ b/bootstrap/cache/filament/panels/admin.php @@ -67,9 +67,9 @@ ), 'clusters' => array ( - '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Clusters/Administration/AdministrationCluster.php' => 'App\\Filament\\Clusters\\Administration\\AdministrationCluster', - '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Clusters/Projekte/ProjekteCluster.php' => 'App\\Filament\\Clusters\\Projekte\\ProjekteCluster', - '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Clusters/Verwaltung/VerwaltungCluster.php' => 'App\\Filament\\Clusters\\Verwaltung\\VerwaltungCluster', + '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Clusters/Administration/AdministrationCluster.php' => 'App\\Filament\\Clusters\\Administration\\AdministrationCluster', + '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Clusters/Projekte/ProjekteCluster.php' => 'App\\Filament\\Clusters\\Projekte\\ProjekteCluster', + '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Clusters/Verwaltung/VerwaltungCluster.php' => 'App\\Filament\\Clusters\\Verwaltung\\VerwaltungCluster', ), 'clusteredComponents' => array ( @@ -93,7 +93,7 @@ ), 'clusterDirectories' => array ( - 0 => '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Clusters', + 0 => '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Clusters', ), 'clusterNamespaces' => array ( @@ -101,14 +101,14 @@ ), 'pages' => array ( - '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Clusters/Administration/AdministrationCluster.php' => 'App\\Filament\\Clusters\\Administration\\AdministrationCluster', - '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Clusters/Projekte/ProjekteCluster.php' => 'App\\Filament\\Clusters\\Projekte\\ProjekteCluster', - '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Clusters/Verwaltung/VerwaltungCluster.php' => 'App\\Filament\\Clusters\\Verwaltung\\VerwaltungCluster', + '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Clusters/Administration/AdministrationCluster.php' => 'App\\Filament\\Clusters\\Administration\\AdministrationCluster', + '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Clusters/Projekte/ProjekteCluster.php' => 'App\\Filament\\Clusters\\Projekte\\ProjekteCluster', + '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Clusters/Verwaltung/VerwaltungCluster.php' => 'App\\Filament\\Clusters\\Verwaltung\\VerwaltungCluster', 0 => 'Filament\\Pages\\Dashboard', ), 'pageDirectories' => array ( - 0 => '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Pages', + 0 => '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Pages', ), 'pageNamespaces' => array ( @@ -116,22 +116,22 @@ ), 'resources' => array ( - '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Resources/Auftraggebers/AuftraggeberResource.php' => 'App\\Filament\\Resources\\Auftraggebers\\AuftraggeberResource', - '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Resources/Gutachters/GutachterResource.php' => 'App\\Filament\\Resources\\Gutachters\\GutachterResource', - '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Resources/Inhaltsverzeichnis/InhaltsverzeichnisResource.php' => 'App\\Filament\\Resources\\Inhaltsverzeichnis\\InhaltsverzeichnisResource', - '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Resources/KontoTextblocks/KontoTextblockResource.php' => 'App\\Filament\\Resources\\KontoTextblocks\\KontoTextblockResource', - '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Resources/Kontos/KontoResource.php' => 'App\\Filament\\Resources\\Kontos\\KontoResource', - '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Resources/Methodes/MethodeResource.php' => 'App\\Filament\\Resources\\Methodes\\MethodeResource', - '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Resources/Orientierungs/OrientierungResource.php' => 'App\\Filament\\Resources\\Orientierungs\\OrientierungResource', - '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Resources/Permissions/PermissionResource.php' => 'App\\Filament\\Resources\\Permissions\\PermissionResource', - '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Resources/Projektes/ProjekteResource.php' => 'App\\Filament\\Resources\\Projektes\\ProjekteResource', - '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Resources/Textblocks/TextblockResource.php' => 'App\\Filament\\Resources\\Textblocks\\TextblockResource', - '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Resources/Users/UserResource.php' => 'App\\Filament\\Resources\\Users\\UserResource', + '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Auftraggebers/AuftraggeberResource.php' => 'App\\Filament\\Resources\\Auftraggebers\\AuftraggeberResource', + '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Gutachters/GutachterResource.php' => 'App\\Filament\\Resources\\Gutachters\\GutachterResource', + '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Inhaltsverzeichnis/InhaltsverzeichnisResource.php' => 'App\\Filament\\Resources\\Inhaltsverzeichnis\\InhaltsverzeichnisResource', + '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/KontoTextblocks/KontoTextblockResource.php' => 'App\\Filament\\Resources\\KontoTextblocks\\KontoTextblockResource', + '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Kontos/KontoResource.php' => 'App\\Filament\\Resources\\Kontos\\KontoResource', + '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Methodes/MethodeResource.php' => 'App\\Filament\\Resources\\Methodes\\MethodeResource', + '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Orientierungs/OrientierungResource.php' => 'App\\Filament\\Resources\\Orientierungs\\OrientierungResource', + '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Permissions/PermissionResource.php' => 'App\\Filament\\Resources\\Permissions\\PermissionResource', + '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Projektes/ProjekteResource.php' => 'App\\Filament\\Resources\\Projektes\\ProjekteResource', + '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Textblocks/TextblockResource.php' => 'App\\Filament\\Resources\\Textblocks\\TextblockResource', + '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Users/UserResource.php' => 'App\\Filament\\Resources\\Users\\UserResource', 0 => 'BezhanSalleh\\FilamentShield\\Resources\\Roles\\RoleResource', ), 'resourceDirectories' => array ( - 0 => '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Resources', + 0 => '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources', ), 'resourceNamespaces' => array ( @@ -144,7 +144,7 @@ ), 'widgetDirectories' => array ( - 0 => '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Widgets', + 0 => '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Widgets', ), 'widgetNamespaces' => array ( diff --git a/bootstrap/cache/routes-v7.php b/bootstrap/cache/routes-v7.php index e3aeb1a..385d446 100644 --- a/bootstrap/cache/routes-v7.php +++ b/bootstrap/cache/routes-v7.php @@ -511,7 +511,7 @@ app('router')->setCompiledRoutes( array ( 0 => array ( - '_route' => 'generated::vj2JYYuCWI9Yv0cQ', + '_route' => 'generated::QshDHRDmItJc1Og5', ), 1 => NULL, 2 => @@ -531,7 +531,7 @@ app('router')->setCompiledRoutes( array ( 0 => array ( - '_route' => 'generated::HTOXZq1kSvHUAbte', + '_route' => 'generated::8OWCx2No2D4kONIC', ), 1 => NULL, 2 => @@ -589,7 +589,7 @@ app('router')->setCompiledRoutes( array ( 0 => array ( - '_route' => 'generated::UvnYi30cOLQ7UWvT', + '_route' => 'generated::BtRzd1Ox9ytNgKg0', ), 1 => NULL, 2 => @@ -609,7 +609,7 @@ app('router')->setCompiledRoutes( array ( 0 => array ( - '_route' => 'generated::nhusPuCkU78qGDHR', + '_route' => 'generated::TYPPL9AOLFv04vUl', ), 1 => NULL, 2 => @@ -629,7 +629,7 @@ app('router')->setCompiledRoutes( array ( 0 => array ( - '_route' => 'generated::ONxWSYodeVGA3hA1', + '_route' => 'generated::zF461W8pmQukgGcX', ), 1 => NULL, 2 => @@ -649,7 +649,7 @@ app('router')->setCompiledRoutes( array ( 0 => array ( - '_route' => 'generated::Iw7l4khnRQKIs5Zy', + '_route' => 'generated::lKNurOP0byl8wd6t', ), 1 => NULL, 2 => @@ -669,7 +669,7 @@ app('router')->setCompiledRoutes( array ( 0 => array ( - '_route' => 'generated::2nPFdAtG3H1JaC7B', + '_route' => 'generated::PNHHg021m3gsLMxT', ), 1 => NULL, 2 => @@ -2644,7 +2644,7 @@ app('router')->setCompiledRoutes( 'waitSeconds' => NULL, 'withTrashed' => false, ), - 'generated::vj2JYYuCWI9Yv0cQ' => + 'generated::QshDHRDmItJc1Og5' => array ( 'methods' => array ( @@ -2656,7 +2656,7 @@ app('router')->setCompiledRoutes( array ( 'uses' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@returnJavaScriptAsFile', 'controller' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@returnJavaScriptAsFile', - 'as' => 'generated::vj2JYYuCWI9Yv0cQ', + 'as' => 'generated::QshDHRDmItJc1Og5', ), 'fallback' => false, 'defaults' => @@ -2672,7 +2672,7 @@ app('router')->setCompiledRoutes( 'waitSeconds' => NULL, 'withTrashed' => false, ), - 'generated::HTOXZq1kSvHUAbte' => + 'generated::8OWCx2No2D4kONIC' => array ( 'methods' => array ( @@ -2684,7 +2684,7 @@ app('router')->setCompiledRoutes( array ( 'uses' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@maps', 'controller' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@maps', - 'as' => 'generated::HTOXZq1kSvHUAbte', + 'as' => 'generated::8OWCx2No2D4kONIC', ), 'fallback' => false, 'defaults' => @@ -2786,7 +2786,7 @@ app('router')->setCompiledRoutes( 'waitSeconds' => NULL, 'withTrashed' => false, ), - 'generated::UvnYi30cOLQ7UWvT' => + 'generated::BtRzd1Ox9ytNgKg0' => array ( 'methods' => array ( @@ -2796,7 +2796,7 @@ app('router')->setCompiledRoutes( 'uri' => 'up', 'action' => array ( - 'uses' => 'O:55:"Laravel\\SerializableClosure\\UnsignedSerializableClosure":1:{s:12:"serializable";O:46:"Laravel\\SerializableClosure\\Serializers\\Native":5:{s:3:"use";a:0:{}s:8:"function";s:834:"function () { + 'uses' => 'O:55:"Laravel\\SerializableClosure\\UnsignedSerializableClosure":1:{s:12:"serializable";O:46:"Laravel\\SerializableClosure\\Serializers\\Native":5:{s:3:"use";a:0:{}s:8:"function";s:826:"function () { $exception = null; try { @@ -2811,11 +2811,11 @@ app('router')->setCompiledRoutes( $exception = $e->getMessage(); } - return response(\\Illuminate\\Support\\Facades\\View::file(\'/Users/hermanntelser/Sites/nutzwerte_fi4/vendor/laravel/framework/src/Illuminate/Foundation/Configuration\'.\'/../resources/health-up.blade.php\', [ + return response(\\Illuminate\\Support\\Facades\\View::file(\'/Users/salam/Sites/nutzwerte_fi4/vendor/laravel/framework/src/Illuminate/Foundation/Configuration\'.\'/../resources/health-up.blade.php\', [ \'exception\' => $exception, ]), status: $exception ? 500 : 200); }";s:5:"scope";s:54:"Illuminate\\Foundation\\Configuration\\ApplicationBuilder";s:4:"this";N;s:4:"self";s:32:"0000000000000f430000000000000000";}}', - 'as' => 'generated::UvnYi30cOLQ7UWvT', + 'as' => 'generated::BtRzd1Ox9ytNgKg0', ), 'fallback' => false, 'defaults' => @@ -2831,7 +2831,7 @@ app('router')->setCompiledRoutes( 'waitSeconds' => NULL, 'withTrashed' => false, ), - 'generated::nhusPuCkU78qGDHR' => + 'generated::TYPPL9AOLFv04vUl' => array ( 'methods' => array ( @@ -2853,7 +2853,7 @@ app('router')->setCompiledRoutes( 'where' => array ( ), - 'as' => 'generated::nhusPuCkU78qGDHR', + 'as' => 'generated::TYPPL9AOLFv04vUl', ), 'fallback' => false, 'defaults' => @@ -2869,7 +2869,7 @@ app('router')->setCompiledRoutes( 'waitSeconds' => NULL, 'withTrashed' => false, ), - 'generated::ONxWSYodeVGA3hA1' => + 'generated::zF461W8pmQukgGcX' => array ( 'methods' => array ( @@ -2891,7 +2891,7 @@ app('router')->setCompiledRoutes( 'where' => array ( ), - 'as' => 'generated::ONxWSYodeVGA3hA1', + 'as' => 'generated::zF461W8pmQukgGcX', ), 'fallback' => false, 'defaults' => @@ -2907,7 +2907,7 @@ app('router')->setCompiledRoutes( 'waitSeconds' => NULL, 'withTrashed' => false, ), - 'generated::Iw7l4khnRQKIs5Zy' => + 'generated::lKNurOP0byl8wd6t' => array ( 'methods' => array ( @@ -2929,7 +2929,7 @@ app('router')->setCompiledRoutes( 'where' => array ( ), - 'as' => 'generated::Iw7l4khnRQKIs5Zy', + 'as' => 'generated::lKNurOP0byl8wd6t', ), 'fallback' => false, 'defaults' => @@ -2945,7 +2945,7 @@ app('router')->setCompiledRoutes( 'waitSeconds' => NULL, 'withTrashed' => false, ), - 'generated::2nPFdAtG3H1JaC7B' => + 'generated::PNHHg021m3gsLMxT' => array ( 'methods' => array ( @@ -2967,7 +2967,7 @@ app('router')->setCompiledRoutes( 'where' => array ( ), - 'as' => 'generated::2nPFdAtG3H1JaC7B', + 'as' => 'generated::PNHHg021m3gsLMxT', ), 'fallback' => false, 'defaults' => @@ -3069,7 +3069,7 @@ app('router')->setCompiledRoutes( 'uri' => 'storage/{path}', 'action' => array ( - 'uses' => 'O:55:"Laravel\\SerializableClosure\\UnsignedSerializableClosure":1:{s:12:"serializable";O:46:"Laravel\\SerializableClosure\\Serializers\\Native":5:{s:3:"use";a:3:{s:4:"disk";s:5:"local";s:6:"config";a:5:{s:6:"driver";s:5:"local";s:4:"root";s:60:"/Users/hermanntelser/Sites/nutzwerte_fi4/storage/app/private";s:5:"serve";b:1;s:5:"throw";b:0;s:6:"report";b:0;}s:12:"isProduction";b:0;}s:8:"function";s:323:"function (\\Illuminate\\Http\\Request $request, string $path) use ($disk, $config, $isProduction) { + 'uses' => 'O:55:"Laravel\\SerializableClosure\\UnsignedSerializableClosure":1:{s:12:"serializable";O:46:"Laravel\\SerializableClosure\\Serializers\\Native":5:{s:3:"use";a:3:{s:4:"disk";s:5:"local";s:6:"config";a:5:{s:6:"driver";s:5:"local";s:4:"root";s:52:"/Users/salam/Sites/nutzwerte_fi4/storage/app/private";s:5:"serve";b:1;s:5:"throw";b:0;s:6:"report";b:0;}s:12:"isProduction";b:0;}s:8:"function";s:323:"function (\\Illuminate\\Http\\Request $request, string $path) use ($disk, $config, $isProduction) { return (new \\Illuminate\\Filesystem\\ServeFile( $disk, $config, diff --git a/composer.lock b/composer.lock index cd44793..80e226b 100644 --- a/composer.lock +++ b/composer.lock @@ -2708,16 +2708,16 @@ }, { "name": "laravel/framework", - "version": "v12.36.1", + "version": "v12.37.0", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "cad110d7685fbab990a6bb8184d0cfd847d7c4d8" + "reference": "3c3c4ad30f5b528b164a7c09aa4ad03118c4c125" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/cad110d7685fbab990a6bb8184d0cfd847d7c4d8", - "reference": "cad110d7685fbab990a6bb8184d0cfd847d7c4d8", + "url": "https://api.github.com/repos/laravel/framework/zipball/3c3c4ad30f5b528b164a7c09aa4ad03118c4c125", + "reference": "3c3c4ad30f5b528b164a7c09aa4ad03118c4c125", "shasum": "" }, "require": { @@ -2923,7 +2923,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2025-10-29T14:20:57+00:00" + "time": "2025-11-04T15:39:33+00:00" }, { "name": "laravel/prompts", diff --git a/database/migrations/2025_10_02_170241_create_inhaltsverzeichnis_table.php b/database/migrations/2025_10_02_170241_create_inhaltsverzeichnis_table.php index c5c896c..d85fc8c 100644 --- a/database/migrations/2025_10_02_170241_create_inhaltsverzeichnis_table.php +++ b/database/migrations/2025_10_02_170241_create_inhaltsverzeichnis_table.php @@ -18,13 +18,15 @@ return new class extends Migration $table->string('name')->nullable(); $table->string('name2')->nullable(); $table->string('part')->nullable(); - $table->boolean('ueberschrift_anzeigen')->default(0)->nullable(); + $table->boolean('ueberschrift_verbergen')->default(0)->nullable(); $table->integer('inhaltselement_id')->default(0)->nullable(); $table->integer('textblock_id')->default(0)->nullable(); $table->integer('seite')->default(0); $table->integer('neue_seite')->default(0); $table->integer('seitenzahl_anzeige')->default(0); $table->boolean('no_edit')->default(0)->nullable(); + $table->string('hilfe_text')->nullable(); + $table->string('hilfe_bild')->nullable(); $table->timestamps(); }); } diff --git a/database/migrations/2025_10_10_085849_create_projekt_inhaltsverzeichnis_table.php b/database/migrations/2025_10_10_085849_create_projekt_inhaltsverzeichnis_table.php index 6c1778e..eb00d7b 100644 --- a/database/migrations/2025_10_10_085849_create_projekt_inhaltsverzeichnis_table.php +++ b/database/migrations/2025_10_10_085849_create_projekt_inhaltsverzeichnis_table.php @@ -19,7 +19,7 @@ return new class extends Migration $table->string('name')->nullable(); $table->string('name2')->nullable(); $table->string('part')->nullable(); - $table->boolean('ueberschrift_anzeigen')->default(0)->nullable(); + $table->boolean('ueberschrift_verbergen')->default(0)->nullable(); $table->integer('inhaltselement_id')->default(0)->nullable(); $table->integer('textblock_id')->default(0)->nullable(); $table->integer('konto_textblock_id')->default(0)->nullable(); diff --git a/database/seeders/InhaltsverzeichnisSeeder.php b/database/seeders/InhaltsverzeichnisSeeder.php index 3cf04b5..9209299 100644 --- a/database/seeders/InhaltsverzeichnisSeeder.php +++ b/database/seeders/InhaltsverzeichnisSeeder.php @@ -12,7 +12,7 @@ class InhaltsverzeichnisSeeder extends Seeder */ public function run(): void { - $sql = "INSERT INTO `inhaltsverzeichnis` (`id`, `name`, `name2`, `part`, `ueberschrift_anzeigen`, `inhaltselement_id`, `textblock_id`, `sort`, `ordnungszahl`, `seite`, `neue_seite`, `seitenzahl_anzeige`, `no_edit`, `created_at`, `updated_at`) + $sql = "INSERT INTO `inhaltsverzeichnis` (`id`, `name`, `name2`, `part`, `ueberschrift_verbergen`, `inhaltselement_id`, `textblock_id`, `sort`, `ordnungszahl`, `seite`, `neue_seite`, `seitenzahl_anzeige`, `no_edit`, `created_at`, `updated_at`) VALUES ('1', 'DECKBLATT', NULL, 'standard', '0', '9', '11', '1', '0', '0', '1', '0', '0', NULL, '2025-10-19 08:13:53'), ('2', 'INHALTSVERZEICHNIS', NULL, 'standard', '1', '1', '0', '3', '0', '0', '1', '0', '0', NULL, '2025-10-19 08:13:53'), diff --git a/database/seeders/TestProjektSeeder.php b/database/seeders/TestProjektSeeder.php index 93d3e32..a6e4152 100644 --- a/database/seeders/TestProjektSeeder.php +++ b/database/seeders/TestProjektSeeder.php @@ -673,7 +673,7 @@ class TestProjektSeeder extends Seeder DB::unprepared($sql); - $sql = "INSERT INTO `projekt_inhaltsverzeichnis` (`id`, `projekte_id`, `sort`, `ordnungszahl`, `name`, `name2`, `part`, `ueberschrift_anzeigen`, `inhaltselement_id`, `konto_textblock_id`, `seite`, `neue_seite`, `seitenzahl_anzeige`, `no_edit`, `textblock_name`, `textblock`, `textblock2`, `created_at`, `updated_at`) + $sql = "INSERT INTO `projekt_inhaltsverzeichnis` (`id`, `projekte_id`, `sort`, `ordnungszahl`, `name`, `name2`, `part`, `ueberschrift_verbergen`, `inhaltselement_id`, `konto_textblock_id`, `seite`, `neue_seite`, `seitenzahl_anzeige`, `no_edit`, `textblock_name`, `textblock`, `textblock2`, `created_at`, `updated_at`) VALUES ('1', '1', '1', '0', 'GUTACHTEN - VERTEILUNGSSCHLÜSSEL', NULL, 'standard', '0', '9', '0', '0', '1', '0', '0', NULL, '

P ###GUTACHTEN_P_NR### WEG 2002

EZ ###EINLAGEZAHL### des GB ###GRUNDBUCH###

', NULL, '2025-10-27 08:18:22', '2025-10-27 08:18:22'), ('2', '1', '3', '0', 'INHALTSVERZEICHNIS', NULL, 'standard', '1', '1', '0', '0', '1', '0', '0', NULL, '', NULL, '2025-10-27 08:18:22', '2025-10-27 08:18:22'),