diff --git a/app/Filament/Imports/RaeumealleImporter.php b/app/Filament/Imports/RaeumealleImporter.php index 479f616..2259393 100644 --- a/app/Filament/Imports/RaeumealleImporter.php +++ b/app/Filament/Imports/RaeumealleImporter.php @@ -24,7 +24,8 @@ class RaeumealleImporter extends Importer { return [ ImportColumn::make('top_nummer') - ->validationAttribute('Geschoss') + ->label('Top Nummer') + ->validationAttribute('Top Nummer') ->requiredMapping() ->example('EG') ->rules(['required', 'max:255']) @@ -54,7 +55,9 @@ class RaeumealleImporter extends Importer return iconv(mb_detect_encoding($state, mb_detect_order(), true), 'UTF-8', $state); }), ImportColumn::make('flaeche') + ->label('Fläche') ->validationAttribute('Fläche') + ->requiredMapping() ->rules(['required']) ->example('52,75') ->castStateUsing(function (string $state): ?float { diff --git a/app/Filament/Resources/Methodes/Tables/MethodesTable.php b/app/Filament/Resources/Methodes/Tables/MethodesTable.php index 57bb9c5..189430c 100644 --- a/app/Filament/Resources/Methodes/Tables/MethodesTable.php +++ b/app/Filament/Resources/Methodes/Tables/MethodesTable.php @@ -3,6 +3,7 @@ namespace App\Filament\Resources\Methodes\Tables; use Filament\Actions\EditAction; +use Filament\Support\Enums\FontWeight; use Filament\Tables\Columns\TextColumn; use Filament\Tables\Table; use Illuminate\Support\HtmlString; @@ -12,15 +13,14 @@ class MethodesTable public static function configure(Table $table): Table { return $table + ->paginated(false) ->columns([ - TextColumn::make('id'), TextColumn::make('name') - ->color('info') + ->weight(FontWeight::Bold) ->wrap() ->description(function ($record) { return new HtmlString($record->description); - }) - ->html(), + }), ]) ->recordActions([ EditAction::make()->iconButton(), diff --git a/app/Filament/Resources/Projektes/RelationManagers/ProjektMethodesRelationManager.php b/app/Filament/Resources/Projektes/RelationManagers/ProjektMethodesRelationManager.php index 53a090e..746d7b4 100644 --- a/app/Filament/Resources/Projektes/RelationManagers/ProjektMethodesRelationManager.php +++ b/app/Filament/Resources/Projektes/RelationManagers/ProjektMethodesRelationManager.php @@ -14,8 +14,10 @@ use Filament\Resources\RelationManagers\RelationManager; use Filament\Tables\Columns\SelectColumn; use Filament\Tables\Columns\TextColumn; use Filament\Tables\Columns\TextInputColumn; +use Filament\Tables\Filters\SelectFilter; use Filament\Tables\Filters\TernaryFilter; use Filament\Tables\Table; +use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Collection; use Livewire\Component; @@ -38,14 +40,14 @@ class ProjektMethodesRelationManager extends RelationManager ->recordTitleAttribute('raumart') ->columns([ SelectColumn::make('methode_id') - ->selectablePlaceholder(true) + ->label('Methoden') ->optionsRelationship('methode', 'name') ->preloadOptions() ->rules(['required']) ->afterStateUpdated(function (Component $livewire) { $livewire->dispatch('refreshMethods'); })->validationMessages([ - 'required' => 'Die Eingabe eines Faktors ist erforderlich.', + 'required' => 'Die Eingabe einer Methode ist erforderlich.', ]), TextColumn::make('raumart') ->searchable(), @@ -62,10 +64,27 @@ class ProjektMethodesRelationManager extends RelationManager ]), ]) ->filters([ + SelectFilter::make('methodes') + ->label('Methoden') + ->relationship('methode', 'name'), TernaryFilter::make('methode_id') - ->label('Methode zugeordnet'), + ->label('Methode ist zugeordnet'), + TernaryFilter::make('faktor') + ->label('Faktor fehlt') + ->queries( + true: fn (Builder $query) => $query->where('faktor', '=', 0), + false: fn (Builder $query) => $query->where('faktor', '>', 0), + ), + ]) ->headerActions([ + Action::make('methoden') + ->icon('phosphor-question') + ->modalCancelAction(fn (Action $action) => $action->label('Schließen')) + ->modalSubmitAction(false) + ->modalHeading('Hilfe zu Methoden') + ->slideOver() + ->modalContent(view('filament.pages.actions.methoden')), Action::make('erstellen') ->action(fn (CreateProjektMethoden $createProjektMethoden) => $createProjektMethoden->create($this->ownerRecord)) ->requiresConfirmation() diff --git a/app/Filament/Resources/Projektes/Tables/ProjektesTable.php b/app/Filament/Resources/Projektes/Tables/ProjektesTable.php index 18fbbcf..a2db587 100644 --- a/app/Filament/Resources/Projektes/Tables/ProjektesTable.php +++ b/app/Filament/Resources/Projektes/Tables/ProjektesTable.php @@ -19,7 +19,7 @@ class ProjektesTable TextColumn::make('interner_name') ->tooltip(fn ($record): HtmlString => new HtmlString($record->beschreibung)) ->label('Interner Name') - ->color('info') + ->color('primary') ->wrap() ->searchable(), TextColumn::make('offizieller_name') diff --git a/app/Filament/Resources/Projektes/Widgets/WidgetMethoden.php b/app/Filament/Resources/Projektes/Widgets/WidgetMethoden.php new file mode 100644 index 0000000..9e883ab --- /dev/null +++ b/app/Filament/Resources/Projektes/Widgets/WidgetMethoden.php @@ -0,0 +1,30 @@ +query(fn (): Builder => Methode::query()) + ->paginated(false) + ->columns([ + TextColumn::make('name') + ->label('') + ->weight(FontWeight::Bold) + ->wrap() + ->description(function ($record) { + return new HtmlString($record->description); + }), + ]); + } +} diff --git a/bootstrap/cache/blade-icons.php b/bootstrap/cache/blade-icons.php index be5c76f..24cfd29 100755 --- a/bootstrap/cache/blade-icons.php +++ b/bootstrap/cache/blade-icons.php @@ -1,7 +1,7 @@ array ( - '/Users/salam/Sites/nutzwerte_fi4/resources/svg' => + '/Users/hermanntelser/Sites/nutzwerte_fi4/resources/svg' => array ( 0 => 'excel', 1 => 'logo', @@ -11,7 +11,7 @@ ), 'heroicons' => array ( - '/Users/salam/Sites/nutzwerte_fi4/vendor/blade-ui-kit/blade-heroicons/src/../resources/svg' => + '/Users/hermanntelser/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/salam/Sites/nutzwerte_fi4/vendor/codeat3/blade-phosphor-icons/src/../resources/svg' => + '/Users/hermanntelser/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/salam/Sites/nutzwerte_fi4/vendor/filament/support/src/../resources/svg' => + '/Users/hermanntelser/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/salam/Sites/nutzwerte_fi4/vendor/mallardduck/blade-lucide-icons/src/../resources/svg' => + '/Users/hermanntelser/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 49cb9e7..94855c0 100644 --- a/bootstrap/cache/config.php +++ b/bootstrap/cache/config.php @@ -81,9 +81,9 @@ array ( 'paths' => array ( - 0 => '/Users/salam/Sites/nutzwerte_fi4/resources/views', + 0 => '/Users/hermanntelser/Sites/nutzwerte_fi4/resources/views', ), - 'compiled' => '/Users/salam/Sites/nutzwerte_fi4/storage/framework/views', + 'compiled' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/framework/views', ), 'cors' => array ( @@ -126,7 +126,7 @@ 'fallback_locale' => 'en', 'faker_locale' => 'de_AT', 'cipher' => 'AES-256-CBC', - 'key' => 'base64:zrVnUcBmUGjEV/EoAKnZCm/1FWplKu79kYBvevE2/ek=', + 'key' => 'base64:3uv/ppXplpqmYtiZ5ZyILnoOTmKfZAz27bfsnR1qmaE=', 'previous_keys' => array ( ), @@ -301,8 +301,8 @@ 'file' => array ( 'driver' => 'file', - 'path' => '/Users/salam/Sites/nutzwerte_fi4/storage/framework/cache/data', - 'lock_path' => '/Users/salam/Sites/nutzwerte_fi4/storage/framework/cache/data', + 'path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/framework/cache/data', + 'lock_path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/framework/cache/data', ), 'memcached' => array ( @@ -522,7 +522,7 @@ ), 'policies' => array ( - 'path' => '/Users/salam/Sites/nutzwerte_fi4/app/Policies', + 'path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Policies', 'merge' => true, 'generate' => true, 'methods' => @@ -610,7 +610,7 @@ 'local' => array ( 'driver' => 'local', - 'root' => '/Users/salam/Sites/nutzwerte_fi4/storage/app/private', + 'root' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/app/private', 'serve' => true, 'throw' => false, 'report' => false, @@ -618,7 +618,7 @@ 'public' => array ( 'driver' => 'local', - 'root' => '/Users/salam/Sites/nutzwerte_fi4/storage/app/public', + 'root' => '/Users/hermanntelser/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/salam/Sites/nutzwerte_fi4/storage/app/public/promotion', + 'root' => '/Users/hermanntelser/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/salam/Sites/nutzwerte_fi4/public/storage' => '/Users/salam/Sites/nutzwerte_fi4/storage/app/public', + '/Users/hermanntelser/Sites/nutzwerte_fi4/public/storage' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/app/public', ), ), 'logging' => @@ -673,14 +673,14 @@ 'single' => array ( 'driver' => 'single', - 'path' => '/Users/salam/Sites/nutzwerte_fi4/storage/logs/laravel.log', + 'path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/logs/laravel.log', 'level' => 'debug', 'replace_placeholders' => true, ), 'daily' => array ( 'driver' => 'daily', - 'path' => '/Users/salam/Sites/nutzwerte_fi4/storage/logs/laravel.log', + 'path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/logs/laravel.log', 'level' => 'debug', 'days' => 14, 'replace_placeholders' => true, @@ -745,7 +745,7 @@ ), 'emergency' => array ( - 'path' => '/Users/salam/Sites/nutzwerte_fi4/storage/logs/laravel.log', + 'path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/logs/laravel.log', ), ), ), @@ -844,7 +844,7 @@ 'theme' => 'default', 'paths' => array ( - 0 => '/Users/salam/Sites/nutzwerte_fi4/resources/views/vendor/mail', + 0 => '/Users/hermanntelser/Sites/nutzwerte_fi4/resources/views/vendor/mail', ), ), ), @@ -1033,7 +1033,7 @@ 'lifetime' => 120, 'expire_on_close' => false, 'encrypt' => false, - 'files' => '/Users/salam/Sites/nutzwerte_fi4/storage/framework/sessions', + 'files' => '/Users/hermanntelser/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/salam/Sites/nutzwerte_fi4/bootstrap/cache/filament', + 'cache_path' => '/Users/hermanntelser/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/salam/Sites/nutzwerte_fi4/resources/views/livewire', + 'view_path' => '/Users/hermanntelser/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 eb0c947..011e033 100644 --- a/bootstrap/cache/filament/panels/admin.php +++ b/bootstrap/cache/filament/panels/admin.php @@ -38,6 +38,7 @@ 'app.filament.resources.projektes.relation-managers.projekt-platzhalter-relation-manager' => 'App\\Filament\\Resources\\Projektes\\RelationManagers\\ProjektPlatzhalterRelationManager', 'app.filament.resources.projektes.relation-managers.raeumealles-relation-manager' => 'App\\Filament\\Resources\\Projektes\\RelationManagers\\RaeumeallesRelationManager', 'app.filament.resources.projektes.widgets.widget-merkmale' => 'App\\Filament\\Resources\\Projektes\\Widgets\\WidgetMerkmale', + 'app.filament.resources.projektes.widgets.widget-methoden' => 'App\\Filament\\Resources\\Projektes\\Widgets\\WidgetMethoden', 'app.filament.resources.textblocks.pages.create-textblock' => 'App\\Filament\\Resources\\Textblocks\\Pages\\CreateTextblock', 'app.filament.resources.textblocks.pages.edit-textblock' => 'App\\Filament\\Resources\\Textblocks\\Pages\\EditTextblock', 'app.filament.resources.textblocks.pages.list-textblocks' => 'App\\Filament\\Resources\\Textblocks\\Pages\\ListTextblocks', @@ -69,9 +70,9 @@ ), 'clusters' => array ( - '/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', + '/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', ), 'clusteredComponents' => array ( @@ -96,7 +97,7 @@ ), 'clusterDirectories' => array ( - 0 => '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Clusters', + 0 => '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Clusters', ), 'clusterNamespaces' => array ( @@ -104,14 +105,14 @@ ), 'pages' => array ( - '/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', + '/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', 0 => 'Filament\\Pages\\Dashboard', ), 'pageDirectories' => array ( - 0 => '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Pages', + 0 => '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Pages', ), 'pageNamespaces' => array ( @@ -119,23 +120,23 @@ ), 'resources' => array ( - '/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/Plans/PlanResource.php' => 'App\\Filament\\Resources\\Plans\\PlanResource', - '/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', + '/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/Plans/PlanResource.php' => 'App\\Filament\\Resources\\Plans\\PlanResource', + '/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', 0 => 'BezhanSalleh\\FilamentShield\\Resources\\Roles\\RoleResource', ), 'resourceDirectories' => array ( - 0 => '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources', + 0 => '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Resources', ), 'resourceNamespaces' => array ( @@ -148,7 +149,7 @@ ), 'widgetDirectories' => array ( - 0 => '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Widgets', + 0 => '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Widgets', ), 'widgetNamespaces' => array ( diff --git a/bootstrap/cache/routes-v7.php b/bootstrap/cache/routes-v7.php index c2724a8..ef7debe 100644 --- a/bootstrap/cache/routes-v7.php +++ b/bootstrap/cache/routes-v7.php @@ -531,7 +531,7 @@ app('router')->setCompiledRoutes( array ( 0 => array ( - '_route' => 'generated::oVEL8T4RtClBGJph', + '_route' => 'generated::nJI7ck2dKg0kW2Jj', ), 1 => NULL, 2 => @@ -551,7 +551,7 @@ app('router')->setCompiledRoutes( array ( 0 => array ( - '_route' => 'generated::HjTkGONthPW5rXlA', + '_route' => 'generated::uychHmKErDqpAVar', ), 1 => NULL, 2 => @@ -609,7 +609,7 @@ app('router')->setCompiledRoutes( array ( 0 => array ( - '_route' => 'generated::pEReUyxt0NaT6Jii', + '_route' => 'generated::nyTxNC6dCOu9VtAd', ), 1 => NULL, 2 => @@ -629,7 +629,7 @@ app('router')->setCompiledRoutes( array ( 0 => array ( - '_route' => 'generated::mr9jJHuN21kFNsfA', + '_route' => 'generated::buMK4zzjSSos7yB0', ), 1 => NULL, 2 => @@ -649,7 +649,7 @@ app('router')->setCompiledRoutes( array ( 0 => array ( - '_route' => 'generated::YCs7YJMnXxmDHURi', + '_route' => 'generated::Y3QjPiM1Fu4YqcAJ', ), 1 => NULL, 2 => @@ -669,7 +669,7 @@ app('router')->setCompiledRoutes( array ( 0 => array ( - '_route' => 'generated::RlMY0jWCz0GdVM9I', + '_route' => 'generated::lBwJxX5LdI3zeK1T', ), 1 => NULL, 2 => @@ -689,7 +689,7 @@ app('router')->setCompiledRoutes( array ( 0 => array ( - '_route' => 'generated::ewQXabeHoFQYWp0w', + '_route' => 'generated::i9WenrjJUSlgsIEj', ), 1 => NULL, 2 => @@ -2740,7 +2740,7 @@ app('router')->setCompiledRoutes( 'waitSeconds' => NULL, 'withTrashed' => false, ), - 'generated::oVEL8T4RtClBGJph' => + 'generated::nJI7ck2dKg0kW2Jj' => array ( 'methods' => array ( @@ -2752,7 +2752,7 @@ app('router')->setCompiledRoutes( array ( 'uses' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@returnJavaScriptAsFile', 'controller' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@returnJavaScriptAsFile', - 'as' => 'generated::oVEL8T4RtClBGJph', + 'as' => 'generated::nJI7ck2dKg0kW2Jj', ), 'fallback' => false, 'defaults' => @@ -2768,7 +2768,7 @@ app('router')->setCompiledRoutes( 'waitSeconds' => NULL, 'withTrashed' => false, ), - 'generated::HjTkGONthPW5rXlA' => + 'generated::uychHmKErDqpAVar' => array ( 'methods' => array ( @@ -2780,7 +2780,7 @@ app('router')->setCompiledRoutes( array ( 'uses' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@maps', 'controller' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@maps', - 'as' => 'generated::HjTkGONthPW5rXlA', + 'as' => 'generated::uychHmKErDqpAVar', ), 'fallback' => false, 'defaults' => @@ -2882,7 +2882,7 @@ app('router')->setCompiledRoutes( 'waitSeconds' => NULL, 'withTrashed' => false, ), - 'generated::pEReUyxt0NaT6Jii' => + 'generated::nyTxNC6dCOu9VtAd' => array ( 'methods' => array ( @@ -2892,7 +2892,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:826:"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:834:"function () { $exception = null; try { @@ -2907,11 +2907,11 @@ app('router')->setCompiledRoutes( $exception = $e->getMessage(); } - return response(\\Illuminate\\Support\\Facades\\View::file(\'/Users/salam/Sites/nutzwerte_fi4/vendor/laravel/framework/src/Illuminate/Foundation/Configuration\'.\'/../resources/health-up.blade.php\', [ + return response(\\Illuminate\\Support\\Facades\\View::file(\'/Users/hermanntelser/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:"0000000000000f3b0000000000000000";}}', - 'as' => 'generated::pEReUyxt0NaT6Jii', + 'as' => 'generated::nyTxNC6dCOu9VtAd', ), 'fallback' => false, 'defaults' => @@ -2927,7 +2927,7 @@ app('router')->setCompiledRoutes( 'waitSeconds' => NULL, 'withTrashed' => false, ), - 'generated::mr9jJHuN21kFNsfA' => + 'generated::buMK4zzjSSos7yB0' => array ( 'methods' => array ( @@ -2949,7 +2949,7 @@ app('router')->setCompiledRoutes( 'where' => array ( ), - 'as' => 'generated::mr9jJHuN21kFNsfA', + 'as' => 'generated::buMK4zzjSSos7yB0', ), 'fallback' => false, 'defaults' => @@ -2965,7 +2965,7 @@ app('router')->setCompiledRoutes( 'waitSeconds' => NULL, 'withTrashed' => false, ), - 'generated::YCs7YJMnXxmDHURi' => + 'generated::Y3QjPiM1Fu4YqcAJ' => array ( 'methods' => array ( @@ -2987,7 +2987,7 @@ app('router')->setCompiledRoutes( 'where' => array ( ), - 'as' => 'generated::YCs7YJMnXxmDHURi', + 'as' => 'generated::Y3QjPiM1Fu4YqcAJ', ), 'fallback' => false, 'defaults' => @@ -3003,7 +3003,7 @@ app('router')->setCompiledRoutes( 'waitSeconds' => NULL, 'withTrashed' => false, ), - 'generated::RlMY0jWCz0GdVM9I' => + 'generated::lBwJxX5LdI3zeK1T' => array ( 'methods' => array ( @@ -3025,7 +3025,7 @@ app('router')->setCompiledRoutes( 'where' => array ( ), - 'as' => 'generated::RlMY0jWCz0GdVM9I', + 'as' => 'generated::lBwJxX5LdI3zeK1T', ), 'fallback' => false, 'defaults' => @@ -3041,7 +3041,7 @@ app('router')->setCompiledRoutes( 'waitSeconds' => NULL, 'withTrashed' => false, ), - 'generated::ewQXabeHoFQYWp0w' => + 'generated::i9WenrjJUSlgsIEj' => array ( 'methods' => array ( @@ -3063,7 +3063,7 @@ app('router')->setCompiledRoutes( 'where' => array ( ), - 'as' => 'generated::ewQXabeHoFQYWp0w', + 'as' => 'generated::i9WenrjJUSlgsIEj', ), 'fallback' => false, 'defaults' => @@ -3203,7 +3203,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: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) { + '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) { return (new \\Illuminate\\Filesystem\\ServeFile( $disk, $config, diff --git a/composer.lock b/composer.lock index 4cb81fc..c13c5e2 100644 --- a/composer.lock +++ b/composer.lock @@ -1973,16 +1973,16 @@ }, { "name": "giggsey/libphonenumber-for-php-lite", - "version": "9.0.16", + "version": "9.0.17", "source": { "type": "git", "url": "https://github.com/giggsey/libphonenumber-for-php-lite.git", - "reference": "e7d67fc9d91529f4eff950b058100fcbefd58dfe" + "reference": "430a602c6e5a03932b732226daf64aeeab5c6c65" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/giggsey/libphonenumber-for-php-lite/zipball/e7d67fc9d91529f4eff950b058100fcbefd58dfe", - "reference": "e7d67fc9d91529f4eff950b058100fcbefd58dfe", + "url": "https://api.github.com/repos/giggsey/libphonenumber-for-php-lite/zipball/430a602c6e5a03932b732226daf64aeeab5c6c65", + "reference": "430a602c6e5a03932b732226daf64aeeab5c6c65", "shasum": "" }, "require": { @@ -2047,7 +2047,7 @@ "issues": "https://github.com/giggsey/libphonenumber-for-php-lite/issues", "source": "https://github.com/giggsey/libphonenumber-for-php-lite" }, - "time": "2025-10-10T10:54:41+00:00" + "time": "2025-10-24T07:09:56+00:00" }, { "name": "graham-campbell/result-type", @@ -2662,16 +2662,16 @@ }, { "name": "laravel/framework", - "version": "v12.35.0", + "version": "v12.35.1", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "9583ef9e405a71d5b8c04ff6efd05a7ef9a5baef" + "reference": "d6d6e3cb68238e2fb25b440f222442adef5a8a15" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/9583ef9e405a71d5b8c04ff6efd05a7ef9a5baef", - "reference": "9583ef9e405a71d5b8c04ff6efd05a7ef9a5baef", + "url": "https://api.github.com/repos/laravel/framework/zipball/d6d6e3cb68238e2fb25b440f222442adef5a8a15", + "reference": "d6d6e3cb68238e2fb25b440f222442adef5a8a15", "shasum": "" }, "require": { @@ -2877,7 +2877,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2025-10-21T15:15:41+00:00" + "time": "2025-10-23T15:25:03+00:00" }, { "name": "laravel/prompts", diff --git a/database/seeders/MethodeSeeder.php b/database/seeders/MethodeSeeder.php index 3d99fdf..1a5f954 100644 --- a/database/seeders/MethodeSeeder.php +++ b/database/seeders/MethodeSeeder.php @@ -14,10 +14,10 @@ class MethodeSeeder extends Seeder { $sql = "INSERT INTO `methodes` (`id`, `name`, `description`, `created_at`, `updated_at`) VALUES - ('1', 'Normale Wohnnutzflächen', 'Hierbei werden alle Wohnnutzflächen des Objekts die nicht einer anderen Methode zugeordnet sind zusammengezählt.', NULL, NULL), - ('2', 'Wintergarten, Loggien', '
Alle Objekte werden einzeln aufgelistet mit Absolutem Faktor und Relativem Faktor multipliziert. Die Nutzwerte werden ungerundet zusammengezählt.
', NULL, '2025-10-02 16:00:09'), + ('1', 'Normale Wohnnutzflächen', 'Hierbei werden alle Wohnnutzflächen des Objekts die nicht einer anderen Methode zugeordnet sind zusammengezählt.
', NULL, '2025-10-24 07:14:18'), + ('2', 'Wintergarten, Loggien, unter Stiegen', 'Alle Objekte werden einzeln aufgelistet mit Absolutem Faktor und Relativem Faktor multipliziert. Die Nutzwerte werden ungerundet zusammengezählt.
', NULL, '2025-10-24 07:12:29'), ('3', 'Terasse, Balkon', 'Terasse, Balkon werden mit Absolutem Faktor multipliziert und dann gerundet. Jedes Ergebnis wird einzeln aufgeführt.
', NULL, '2025-10-02 15:59:55'), - ('4', 'Keller, Garten', 'Objekte werden mit dem Absoluten Faktor multipliziert dann gerundet. Jedes Ergebnis wird einzeln aufgeführt.', NULL, NULL), + ('4', 'Keller, Garten', 'Objekte werden mit dem Absoluten Faktor multipliziert dann gerundet. Jedes Ergebnis wird einzeln aufgeführt.
', NULL, '2025-10-24 07:14:25'), ('5', 'Stellplätze', 'Stellplätze werden nur mit Absolutem Faktor multipliziert, nicht in Orientierung & Typ aufgeführt und im PDF als eigenes Objekt ausgegeben.
', NULL, '2025-10-02 15:59:18'), ('6', 'Zubehör', 'Zubehör welches mit dem Stellplatz direkt verbunden ist. (zB. das Kellerabteil hinter dem Stellplatz, oder eine eigene Zufahrt nur zu einem Stellplatz).
Das Objekt wird mit Absolutem Faktor multipliziert und ungerundet zum Stellplatz dazugezählt, und dann erst die Summe des Nutzwertes gerundet.
', NULL, '2025-10-02 15:59:29'); "; diff --git a/lang/de.json b/lang/de.json index 10cb71a..233337f 100644 --- a/lang/de.json +++ b/lang/de.json @@ -43,5 +43,5 @@ "You are receiving this email because we received a password reset request for your account.": "Sie erhalten diese E-Mail, weil wir eine Anfrage zum Zurücksetzen des Passworts für Ihr Konto erhalten haben.", "Your email address is not verified.": "Ihre E-Mail-Adresse ist nicht verifiziert.", "Whoops!": "Hoppla!", - "Select an option": "Wählen Sie eine Option aus" + "Select an option": "Wählen Sie eine Option" } \ No newline at end of file diff --git a/lang/de/filament-select-column.json b/lang/de/filament-select-column.json new file mode 100644 index 0000000..4fd639d --- /dev/null +++ b/lang/de/filament-select-column.json @@ -0,0 +1,3 @@ +{ + "Select an option": "Wählen Sie eine Option" +} \ No newline at end of file diff --git a/lang/de/filament-select-column.php b/lang/de/filament-select-column.php new file mode 100644 index 0000000..b664a46 --- /dev/null +++ b/lang/de/filament-select-column.php @@ -0,0 +1,5 @@ + 'Wählen Sie eine Option', +]; diff --git a/resources/views/filament/pages/actions/methoden.blade.php b/resources/views/filament/pages/actions/methoden.blade.php new file mode 100644 index 0000000..99adf5c --- /dev/null +++ b/resources/views/filament/pages/actions/methoden.blade.php @@ -0,0 +1,10 @@ +@php + $widgetData = [ + 'inModal' => true, + ]; + +@endphp + +