refreshAllgemeinflaechen dispatch

This commit is contained in:
salam committed 2025-10-20 15:58:20 +02:00
1 parent 261fb0916d
commit d473bdc2b3
12 files changed
+157 -126

No files matched your search

@@ -15,7 +15,7 @@ class KontoTextblockForm
->components([ ->components([
TextInput::make('name') TextInput::make('name')
->required(), ->required(),
Textarea::make('beschreibung'), // Textarea::make('beschreibung'),
RichEditor::make('textblock') RichEditor::make('textblock')
->extraInputAttributes(['style' => 'min-height: 20rem; max-height: 50vh; overflow-y: auto;']) ->extraInputAttributes(['style' => 'min-height: 20rem; max-height: 50vh; overflow-y: auto;'])
->toolbarButtons([ ->toolbarButtons([
@@ -24,6 +24,9 @@ class KontoTextblocksTable
return new HtmlString($record->textblock); return new HtmlString($record->textblock);
}) })
->html(), ->html(),
TextColumn::make('created_at')
->label('Erstellt')
->dateTime('M j, Y'),
]) ])
->recordActions([ ->recordActions([
EditAction::make()->iconButton(), EditAction::make()->iconButton(),
@@ -11,11 +11,15 @@ use Filament\Actions\ActionGroup;
use Filament\Actions\DeleteAction; use Filament\Actions\DeleteAction;
use Filament\Notifications\Notification; use Filament\Notifications\Notification;
use Filament\Resources\Pages\EditRecord; use Filament\Resources\Pages\EditRecord;
use Livewire\Attributes\On;
class EditProjekte extends EditRecord class EditProjekte extends EditRecord
{ {
protected static string $resource = ProjekteResource::class; protected static string $resource = ProjekteResource::class;
#[On('refreshAllgemeinflaechen')]
public function refresh(): void {}
protected function getHeaderActions(): array protected function getHeaderActions(): array
{ {
return [ return [
@@ -18,6 +18,7 @@ use Filament\Tables\Columns\TextInputColumn;
use Filament\Tables\Table; use Filament\Tables\Table;
use Illuminate\Support\HtmlString; use Illuminate\Support\HtmlString;
use Illuminate\Validation\Rules\File; use Illuminate\Validation\Rules\File;
use Livewire\Component;
class AllgemeinflaechensRelationManager extends RelationManager class AllgemeinflaechensRelationManager extends RelationManager
{ {
@@ -45,8 +46,11 @@ class AllgemeinflaechensRelationManager extends RelationManager
->suffix(new HtmlString(' m²')) ->suffix(new HtmlString(' m²'))
->numeric() ->numeric()
->label('Fläche') ->label('Fläche')
->required() ->rules(['required', 'flaeche' => 'decimal:2'])
->maxLength(255), ->validationMessages([
'required' => 'Die Eingabe einer Fläche ist erforderlich.',
'decimal' => 'Für die Fläche sind zwei Dezimalstellen erforderlich.',
]),
])->columns(3); ])->columns(3);
} }
@@ -64,11 +68,17 @@ class AllgemeinflaechensRelationManager extends RelationManager
)->suffix(new HtmlString(' m²'))) )->suffix(new HtmlString(' m²')))
->suffix(new HtmlString(' m²')) ->suffix(new HtmlString(' m²'))
->width('2rem') ->width('2rem')
->rules(['required', 'price' => 'decimal:2']) ->rules(['required', 'flaeche' => 'decimal:2'])
->alignment('right') ->alignment('right')
// ->formatStateUsing(fn ($state) => "{$state} m²")
->label('Fläche') ->label('Fläche')
->searchable(), ->searchable()
->validationMessages([
'required' => 'Die Eingabe einer Fläche ist erforderlich.',
'decimal' => 'Für die Fläche sind zwei Dezimalstellen erforderlich.',
])
->afterStateUpdated(function (Component $livewire) {
$livewire->dispatch('refreshAllgemeinflaechen');
}),
]) ])
->filters([ ->filters([
// //
@@ -92,12 +102,20 @@ class AllgemeinflaechensRelationManager extends RelationManager
]), ]),
]) ])
->recordActions([ ->recordActions([
EditAction::make()->iconButton(), EditAction::make()->iconButton()
DeleteAction::make()->iconButton(), ->after(function (Component $livewire) {
$livewire->dispatch('refreshAllgemeinflaechen');
}),
DeleteAction::make()->iconButton()->after(function (Component $livewire) {
$livewire->dispatch('refreshAllgemeinflaechen');
}),
]) ])
->toolbarActions([ ->toolbarActions([
BulkActionGroup::make([ BulkActionGroup::make([
DeleteBulkAction::make(), DeleteBulkAction::make()
->after(function (Component $livewire) {
$livewire->dispatch('refreshAllgemeinflaechen');
}),
]), ]),
]); ]);
} }
@@ -4,6 +4,7 @@ namespace App\Filament\Resources\Projektes\RelationManagers;
use App\Actions\Create\CreateProjektInhaltsverzeichnis; use App\Actions\Create\CreateProjektInhaltsverzeichnis;
use App\Models\KontoTextblock; use App\Models\KontoTextblock;
use App\Models\ProjektInhaltsverzeichnis;
use Filament\Actions\Action; use Filament\Actions\Action;
use Filament\Actions\BulkActionGroup; use Filament\Actions\BulkActionGroup;
use Filament\Actions\CreateAction; use Filament\Actions\CreateAction;
@@ -11,7 +12,6 @@ use Filament\Actions\DeleteAction;
use Filament\Actions\DeleteBulkAction; use Filament\Actions\DeleteBulkAction;
use Filament\Actions\EditAction; use Filament\Actions\EditAction;
use Filament\Forms\Components\Checkbox; use Filament\Forms\Components\Checkbox;
use Filament\Forms\Components\Hidden;
use Filament\Forms\Components\RichEditor; use Filament\Forms\Components\RichEditor;
use Filament\Forms\Components\RichEditor\RichContentRenderer; use Filament\Forms\Components\RichEditor\RichContentRenderer;
use Filament\Forms\Components\Select; use Filament\Forms\Components\Select;
@@ -79,6 +79,7 @@ class ProjektInhaltsverzeichnisRelationManager extends RelationManager
Grid::make() Grid::make()
->columns(6) ->columns(6)
->schema([ ->schema([
TextInput::make('konto_textblock_id')->hidden(),
RichEditor::make('textblock') RichEditor::make('textblock')
->extraInputAttributes(['style' => 'min-height: 20rem; max-height: 50vh; overflow-y: auto;']) ->extraInputAttributes(['style' => 'min-height: 20rem; max-height: 50vh; overflow-y: auto;'])
->columnSpan(5) ->columnSpan(5)
@@ -89,15 +90,31 @@ class ProjektInhaltsverzeichnisRelationManager extends RelationManager
Fieldset::make('') Fieldset::make('')
->contained(false) ->contained(false)
->schema([ ->schema([
Action::make('textblock_sichern') Action::make('sichern')
->iconButton()
->tooltip('Änderungen in der Vorlage speichern')
->icon('phosphor-floppy-disk')
->schema([ ->schema([
Hidden::make('konto_id')->default(auth()->user()->konto_id), TextInput::make('name')->required()
RichEditor::make('textblock') ->label('Ändern sie gegebeben Falls den Namen')
->extraInputAttributes(['style' => 'min-height: 20rem; max-height: 50vh; overflow-y: auto;'])
->hidden()
->default(function ($record) { ->default(function ($record) {
return $record['textblock']; return KontoTextblock::where('id', $record['konto_textblock_id'])->pluck('name')->first();
}), }),
])
->hidden(function ($record) {
return (bool) ! $record['konto_textblock_id'];
})
->action(function (array $mountedActions, array $data) {
$record = $mountedActions[0]->getRawData();
KontoTextblock::where('id', $record['konto_textblock_id'])
->update(['name' => $data['name'], 'textblock' => RichContentRenderer::make($record['textblock'])->toHtml()]);
}),
Action::make('neu')
->iconButton()
->icon('phosphor-file-plus')
->schema([
TextInput::make('name')->required() TextInput::make('name')->required()
->label('Geben sie der Vorlage einen eindeutigen Namen') ->label('Geben sie der Vorlage einen eindeutigen Namen')
->default(function ($record) { ->default(function ($record) {
@@ -105,41 +122,40 @@ class ProjektInhaltsverzeichnisRelationManager extends RelationManager
}), }),
]) ])
->modalSubmitActionLabel('Sichern') ->modalSubmitActionLabel('Sichern')
->iconButton() ->tooltip('Neue Vorlage erstellen')
->icon('phosphor-floppy-disk') ->action(function (array $mountedActions, array $data) {
->tooltip('Als persönliche Vorlage speichern')
->action(function (array $mountedActions, $data) {
$record = $mountedActions[0]->getRawData(); $record = $mountedActions[0]->getRawData();
KontoTextblock::updateOrCreate( $block = new KontoTextblock;
[ $block->konto_id = auth()->user()->konto_id;
'konto_id' => auth()->user()->konto_id, $block->name = $data['name'];
'name' => $data['name'], $block->textblock = RichContentRenderer::make($record['textblock'])->toHtml();
], [ $block->save();
'textblock' => RichContentRenderer::make($record['textblock'])->toHtml(),
]); ProjektInhaltsverzeichnis::where('id', $record['id'])->update(['konto_textblock_id' => $block->id]);
}), }),
Action::make('textblock_laden') Action::make('laden')
->iconButton()
->icon('phosphor-article')
->schema([ ->schema([
Select::make('konto_textblock_id') Select::make('konto_textblock_id')
->hiddenLabel() ->hiddenLabel()
->searchable() ->searchable()
->options(function ($record) { ->options(KontoTextblock::where('konto_id', auth()->user()->konto_id)->pluck('name', 'id'))
return KontoTextblock::where('konto_id', auth()->user()->konto_id)->pluck('name', 'id')->toArray(); ->belowLabel([
})->belowLabel([
'Bitte eine Vorlage auswählen', 'Bitte eine Vorlage auswählen',
]), ]),
]) ])
->icon('phosphor-article')
->iconButton()
->modalSubmitActionLabel('Einsetzen') ->modalSubmitActionLabel('Einsetzen')
->tooltip('Persönliche Vorlage laden.') ->tooltip('Vorlage laden.')
->action(function (Set $set, array $data) { ->action(function (Set $set, array $mountedActions, array $data) {
$set('textblock', KontoTextblock::query()->pluck('textblock')->first()); $record = $mountedActions[0]->getRawData();
ProjektInhaltsverzeichnis::where('id', $record['id'])->update(['konto_textblock_id' => $data['konto_textblock_id']]);
$set('konto_textblock_id', $data['konto_textblock_id']);
$set('textblock', KontoTextblock::where('id', $data['konto_textblock_id'])->pluck('textblock')->first());
}), }),
]) ])->columns(1),
->columns(1),
]), ]),
]), ]),
])->columnSpanFull(), ])->columnSpanFull(),
+9
View File
@@ -12,4 +12,13 @@ class Allgemeinflaechen extends Model
'raumart', 'raumart',
'flaeche', 'flaeche',
]; ];
public static function boot()
{
parent::boot();
self::updated(function ($model) {
Projekte::where('id', $model['projekte_id'])->update(['evaluation' => false]);
});
}
} }
-20
View File
@@ -1,20 +0,0 @@
<?php
namespace App\Providers;
use Illuminate\Auth\Notifications\VerifyEmail;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Support\ServiceProvider;
class AuthServiceProvider extends ServiceProvider
{
public function boot()
{
VerifyEmail::toMailUsing(function ($notifiable, $url) {
return (new MailMessage)
->subject('Verify Email Address')
->line('Click the button below to verify your email address.')
->action('Verify Email Address', $url);
});
}
}
+5 -5
View File
@@ -1,7 +1,7 @@
<?php return array ( <?php return array (
'default' => 'default' =>
array ( array (
'/Users/salam/Sites/nutzwerte_fi4/resources/svg' => '/Users/hermanntelser/Sites/nutzwerte_fi4/resources/svg' =>
array ( array (
0 => 'excel', 0 => 'excel',
1 => 'logo', 1 => 'logo',
@@ -11,7 +11,7 @@
), ),
'heroicons' => 'heroicons' =>
array ( 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 ( array (
0 => 'c-academic-cap', 0 => 'c-academic-cap',
1 => 'c-adjustments-horizontal', 1 => 'c-adjustments-horizontal',
@@ -1305,7 +1305,7 @@
), ),
'phosphor-icons' => 'phosphor-icons' =>
array ( 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 ( array (
0 => 'acorn-bold', 0 => 'acorn-bold',
1 => 'acorn-duotone', 1 => 'acorn-duotone',
@@ -10383,7 +10383,7 @@
), ),
'filament' => 'filament' =>
array ( array (
'/Users/salam/Sites/nutzwerte_fi4/vendor/filament/support/src/../resources/svg' => '/Users/hermanntelser/Sites/nutzwerte_fi4/vendor/filament/support/src/../resources/svg' =>
array ( array (
0 => 'o-align-center', 0 => 'o-align-center',
1 => 'o-align-end', 1 => 'o-align-end',
@@ -10420,7 +10420,7 @@
), ),
'lucide' => 'lucide' =>
array ( 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 ( array (
0 => 'a-arrow-down', 0 => 'a-arrow-down',
1 => 'a-arrow-up', 1 => 'a-arrow-up',
+17 -17
View File
@@ -81,9 +81,9 @@
array ( array (
'paths' => 'paths' =>
array ( 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' => 'cors' =>
array ( array (
@@ -126,7 +126,7 @@
'fallback_locale' => 'en', 'fallback_locale' => 'en',
'faker_locale' => 'de_AT', 'faker_locale' => 'de_AT',
'cipher' => 'AES-256-CBC', 'cipher' => 'AES-256-CBC',
'key' => 'base64:zrVnUcBmUGjEV/EoAKnZCm/1FWplKu79kYBvevE2/ek=', 'key' => 'base64:3uv/ppXplpqmYtiZ5ZyILnoOTmKfZAz27bfsnR1qmaE=',
'previous_keys' => 'previous_keys' =>
array ( array (
), ),
@@ -301,8 +301,8 @@
'file' => 'file' =>
array ( array (
'driver' => 'file', 'driver' => 'file',
'path' => '/Users/salam/Sites/nutzwerte_fi4/storage/framework/cache/data', 'path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/framework/cache/data',
'lock_path' => '/Users/salam/Sites/nutzwerte_fi4/storage/framework/cache/data', 'lock_path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/framework/cache/data',
), ),
'memcached' => 'memcached' =>
array ( array (
@@ -513,7 +513,7 @@
), ),
'policies' => 'policies' =>
array ( array (
'path' => '/Users/salam/Sites/nutzwerte_fi4/app/Policies', 'path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Policies',
'merge' => true, 'merge' => true,
'generate' => true, 'generate' => true,
'methods' => 'methods' =>
@@ -601,7 +601,7 @@
'local' => 'local' =>
array ( array (
'driver' => 'local', 'driver' => 'local',
'root' => '/Users/salam/Sites/nutzwerte_fi4/storage/app/private', 'root' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/app/private',
'serve' => true, 'serve' => true,
'throw' => false, 'throw' => false,
'report' => false, 'report' => false,
@@ -609,7 +609,7 @@
'public' => 'public' =>
array ( array (
'driver' => 'local', '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', 'url' => 'http://nutzwerte_fi4.test/storage',
'visibility' => 'public', 'visibility' => 'public',
'throw' => false, 'throw' => false,
@@ -631,7 +631,7 @@
'promotion' => 'promotion' =>
array ( array (
'driver' => 'local', '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', 'url' => 'http://nutzwerte_fi4.test/storage/promotion',
'visibility' => 'public', 'visibility' => 'public',
'throw' => false, 'throw' => false,
@@ -639,7 +639,7 @@
), ),
'links' => 'links' =>
array ( 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' => 'logging' =>
@@ -664,14 +664,14 @@
'single' => 'single' =>
array ( array (
'driver' => 'single', 'driver' => 'single',
'path' => '/Users/salam/Sites/nutzwerte_fi4/storage/logs/laravel.log', 'path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/logs/laravel.log',
'level' => 'debug', 'level' => 'debug',
'replace_placeholders' => true, 'replace_placeholders' => true,
), ),
'daily' => 'daily' =>
array ( array (
'driver' => 'daily', 'driver' => 'daily',
'path' => '/Users/salam/Sites/nutzwerte_fi4/storage/logs/laravel.log', 'path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/logs/laravel.log',
'level' => 'debug', 'level' => 'debug',
'days' => 14, 'days' => 14,
'replace_placeholders' => true, 'replace_placeholders' => true,
@@ -736,7 +736,7 @@
), ),
'emergency' => 'emergency' =>
array ( array (
'path' => '/Users/salam/Sites/nutzwerte_fi4/storage/logs/laravel.log', 'path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/logs/laravel.log',
), ),
), ),
), ),
@@ -835,7 +835,7 @@
'theme' => 'default', 'theme' => 'default',
'paths' => 'paths' =>
array ( array (
0 => '/Users/salam/Sites/nutzwerte_fi4/resources/views/vendor/mail', 0 => '/Users/hermanntelser/Sites/nutzwerte_fi4/resources/views/vendor/mail',
), ),
), ),
), ),
@@ -1011,7 +1011,7 @@
'lifetime' => 120, 'lifetime' => 120,
'expire_on_close' => false, 'expire_on_close' => false,
'encrypt' => false, 'encrypt' => false,
'files' => '/Users/salam/Sites/nutzwerte_fi4/storage/framework/sessions', 'files' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/framework/sessions',
'connection' => NULL, 'connection' => NULL,
'table' => 'sessions', 'table' => 'sessions',
'store' => NULL, 'store' => NULL,
@@ -1059,7 +1059,7 @@
), ),
'default_filesystem_disk' => 'local', 'default_filesystem_disk' => 'local',
'assets_path' => NULL, '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', 'livewire_loading_delay' => 'default',
'file_generation' => 'file_generation' =>
array ( array (
@@ -1072,7 +1072,7 @@
'livewire' => 'livewire' =>
array ( array (
'class_namespace' => 'App\\Livewire', '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', 'layout' => 'components.layouts.app',
'lazy_placeholder' => NULL, 'lazy_placeholder' => NULL,
'temporary_file_upload' => 'temporary_file_upload' =>
+22 -22
View File
@@ -69,9 +69,9 @@
), ),
'clusters' => 'clusters' =>
array ( array (
'/Users/salam/Sites/nutzwerte_fi4/app/Filament/Clusters/Administration/AdministrationCluster.php' => 'App\\Filament\\Clusters\\Administration\\AdministrationCluster', '/Users/hermanntelser/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/hermanntelser/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/Verwaltung/VerwaltungCluster.php' => 'App\\Filament\\Clusters\\Verwaltung\\VerwaltungCluster',
), ),
'clusteredComponents' => 'clusteredComponents' =>
array ( array (
@@ -96,7 +96,7 @@
), ),
'clusterDirectories' => 'clusterDirectories' =>
array ( array (
0 => '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Clusters', 0 => '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Clusters',
), ),
'clusterNamespaces' => 'clusterNamespaces' =>
array ( array (
@@ -104,14 +104,14 @@
), ),
'pages' => 'pages' =>
array ( array (
'/Users/salam/Sites/nutzwerte_fi4/app/Filament/Clusters/Administration/AdministrationCluster.php' => 'App\\Filament\\Clusters\\Administration\\AdministrationCluster', '/Users/hermanntelser/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/hermanntelser/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/Verwaltung/VerwaltungCluster.php' => 'App\\Filament\\Clusters\\Verwaltung\\VerwaltungCluster',
0 => 'Filament\\Pages\\Dashboard', 0 => 'Filament\\Pages\\Dashboard',
), ),
'pageDirectories' => 'pageDirectories' =>
array ( array (
0 => '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Pages', 0 => '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Pages',
), ),
'pageNamespaces' => 'pageNamespaces' =>
array ( array (
@@ -119,23 +119,23 @@
), ),
'resources' => 'resources' =>
array ( array (
'/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Auftraggebers/AuftraggeberResource.php' => 'App\\Filament\\Resources\\Auftraggebers\\AuftraggeberResource', '/Users/hermanntelser/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/hermanntelser/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/hermanntelser/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/hermanntelser/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/hermanntelser/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/hermanntelser/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/hermanntelser/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/hermanntelser/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/hermanntelser/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/hermanntelser/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/hermanntelser/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/Users/UserResource.php' => 'App\\Filament\\Resources\\Users\\UserResource',
0 => 'BezhanSalleh\\FilamentShield\\Resources\\Roles\\RoleResource', 0 => 'BezhanSalleh\\FilamentShield\\Resources\\Roles\\RoleResource',
), ),
'resourceDirectories' => 'resourceDirectories' =>
array ( array (
0 => '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources', 0 => '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Resources',
), ),
'resourceNamespaces' => 'resourceNamespaces' =>
array ( array (
@@ -148,7 +148,7 @@
), ),
'widgetDirectories' => 'widgetDirectories' =>
array ( array (
0 => '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Widgets', 0 => '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Widgets',
), ),
'widgetNamespaces' => 'widgetNamespaces' =>
array ( array (
+24 -24
View File
@@ -531,7 +531,7 @@ app('router')->setCompiledRoutes(
array ( array (
0 => 0 =>
array ( array (
'_route' => 'generated::FNViXOj8tK9BsYcj', '_route' => 'generated::cMFYRNr1o1PRseSZ',
), ),
1 => NULL, 1 => NULL,
2 => 2 =>
@@ -551,7 +551,7 @@ app('router')->setCompiledRoutes(
array ( array (
0 => 0 =>
array ( array (
'_route' => 'generated::E5wF2GohJ64RTpWy', '_route' => 'generated::2x2QKQMIdsdiHpyb',
), ),
1 => NULL, 1 => NULL,
2 => 2 =>
@@ -609,7 +609,7 @@ app('router')->setCompiledRoutes(
array ( array (
0 => 0 =>
array ( array (
'_route' => 'generated::0ytmXxv3zAuLbMMD', '_route' => 'generated::hszD9fZTxpanIoJv',
), ),
1 => NULL, 1 => NULL,
2 => 2 =>
@@ -629,7 +629,7 @@ app('router')->setCompiledRoutes(
array ( array (
0 => 0 =>
array ( array (
'_route' => 'generated::UJPLbfU8hmQnzL5A', '_route' => 'generated::elk9I3a8y1xOVGye',
), ),
1 => NULL, 1 => NULL,
2 => 2 =>
@@ -649,7 +649,7 @@ app('router')->setCompiledRoutes(
array ( array (
0 => 0 =>
array ( array (
'_route' => 'generated::bHCf3cuphnpBFB0f', '_route' => 'generated::9FyTMqQa1k6WGHuY',
), ),
1 => NULL, 1 => NULL,
2 => 2 =>
@@ -669,7 +669,7 @@ app('router')->setCompiledRoutes(
array ( array (
0 => 0 =>
array ( array (
'_route' => 'generated::eV9qtym8FEl7D4Za', '_route' => 'generated::pR5eI8BwQCtOz6j1',
), ),
1 => NULL, 1 => NULL,
2 => 2 =>
@@ -689,7 +689,7 @@ app('router')->setCompiledRoutes(
array ( array (
0 => 0 =>
array ( array (
'_route' => 'generated::Vz1H49CoVMQHz2u8', '_route' => 'generated::9p3WHLQBm12TOrAJ',
), ),
1 => NULL, 1 => NULL,
2 => 2 =>
@@ -2740,7 +2740,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL, 'waitSeconds' => NULL,
'withTrashed' => false, 'withTrashed' => false,
), ),
'generated::FNViXOj8tK9BsYcj' => 'generated::cMFYRNr1o1PRseSZ' =>
array ( array (
'methods' => 'methods' =>
array ( array (
@@ -2752,7 +2752,7 @@ app('router')->setCompiledRoutes(
array ( array (
'uses' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@returnJavaScriptAsFile', 'uses' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@returnJavaScriptAsFile',
'controller' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@returnJavaScriptAsFile', 'controller' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@returnJavaScriptAsFile',
'as' => 'generated::FNViXOj8tK9BsYcj', 'as' => 'generated::cMFYRNr1o1PRseSZ',
), ),
'fallback' => false, 'fallback' => false,
'defaults' => 'defaults' =>
@@ -2768,7 +2768,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL, 'waitSeconds' => NULL,
'withTrashed' => false, 'withTrashed' => false,
), ),
'generated::E5wF2GohJ64RTpWy' => 'generated::2x2QKQMIdsdiHpyb' =>
array ( array (
'methods' => 'methods' =>
array ( array (
@@ -2780,7 +2780,7 @@ app('router')->setCompiledRoutes(
array ( array (
'uses' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@maps', 'uses' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@maps',
'controller' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@maps', 'controller' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@maps',
'as' => 'generated::E5wF2GohJ64RTpWy', 'as' => 'generated::2x2QKQMIdsdiHpyb',
), ),
'fallback' => false, 'fallback' => false,
'defaults' => 'defaults' =>
@@ -2882,7 +2882,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL, 'waitSeconds' => NULL,
'withTrashed' => false, 'withTrashed' => false,
), ),
'generated::0ytmXxv3zAuLbMMD' => 'generated::hszD9fZTxpanIoJv' =>
array ( array (
'methods' => 'methods' =>
array ( array (
@@ -2892,7 +2892,7 @@ app('router')->setCompiledRoutes(
'uri' => 'up', 'uri' => 'up',
'action' => 'action' =>
array ( 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; $exception = null;
try { try {
@@ -2907,11 +2907,11 @@ app('router')->setCompiledRoutes(
$exception = $e->getMessage(); $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, \'exception\' => $exception,
]), status: $exception ? 500 : 200); ]), status: $exception ? 500 : 200);
}";s:5:"scope";s:54:"Illuminate\\Foundation\\Configuration\\ApplicationBuilder";s:4:"this";N;s:4:"self";s:32:"0000000000000f3b0000000000000000";}}', }";s:5:"scope";s:54:"Illuminate\\Foundation\\Configuration\\ApplicationBuilder";s:4:"this";N;s:4:"self";s:32:"0000000000000f3b0000000000000000";}}',
'as' => 'generated::0ytmXxv3zAuLbMMD', 'as' => 'generated::hszD9fZTxpanIoJv',
), ),
'fallback' => false, 'fallback' => false,
'defaults' => 'defaults' =>
@@ -2927,7 +2927,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL, 'waitSeconds' => NULL,
'withTrashed' => false, 'withTrashed' => false,
), ),
'generated::UJPLbfU8hmQnzL5A' => 'generated::elk9I3a8y1xOVGye' =>
array ( array (
'methods' => 'methods' =>
array ( array (
@@ -2949,7 +2949,7 @@ app('router')->setCompiledRoutes(
'where' => 'where' =>
array ( array (
), ),
'as' => 'generated::UJPLbfU8hmQnzL5A', 'as' => 'generated::elk9I3a8y1xOVGye',
), ),
'fallback' => false, 'fallback' => false,
'defaults' => 'defaults' =>
@@ -2965,7 +2965,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL, 'waitSeconds' => NULL,
'withTrashed' => false, 'withTrashed' => false,
), ),
'generated::bHCf3cuphnpBFB0f' => 'generated::9FyTMqQa1k6WGHuY' =>
array ( array (
'methods' => 'methods' =>
array ( array (
@@ -2987,7 +2987,7 @@ app('router')->setCompiledRoutes(
'where' => 'where' =>
array ( array (
), ),
'as' => 'generated::bHCf3cuphnpBFB0f', 'as' => 'generated::9FyTMqQa1k6WGHuY',
), ),
'fallback' => false, 'fallback' => false,
'defaults' => 'defaults' =>
@@ -3003,7 +3003,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL, 'waitSeconds' => NULL,
'withTrashed' => false, 'withTrashed' => false,
), ),
'generated::eV9qtym8FEl7D4Za' => 'generated::pR5eI8BwQCtOz6j1' =>
array ( array (
'methods' => 'methods' =>
array ( array (
@@ -3025,7 +3025,7 @@ app('router')->setCompiledRoutes(
'where' => 'where' =>
array ( array (
), ),
'as' => 'generated::eV9qtym8FEl7D4Za', 'as' => 'generated::pR5eI8BwQCtOz6j1',
), ),
'fallback' => false, 'fallback' => false,
'defaults' => 'defaults' =>
@@ -3041,7 +3041,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL, 'waitSeconds' => NULL,
'withTrashed' => false, 'withTrashed' => false,
), ),
'generated::Vz1H49CoVMQHz2u8' => 'generated::9p3WHLQBm12TOrAJ' =>
array ( array (
'methods' => 'methods' =>
array ( array (
@@ -3063,7 +3063,7 @@ app('router')->setCompiledRoutes(
'where' => 'where' =>
array ( array (
), ),
'as' => 'generated::Vz1H49CoVMQHz2u8', 'as' => 'generated::9p3WHLQBm12TOrAJ',
), ),
'fallback' => false, 'fallback' => false,
'defaults' => 'defaults' =>
@@ -3203,7 +3203,7 @@ app('router')->setCompiledRoutes(
'uri' => 'storage/{path}', 'uri' => 'storage/{path}',
'action' => 'action' =>
array ( 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( return (new \\Illuminate\\Filesystem\\ServeFile(
$disk, $disk,
$config, $config,
@@ -18,6 +18,7 @@ return new class extends Migration
$table->boolean('ueberschrift_nicht_anzeigen')->default(0)->nullable(); $table->boolean('ueberschrift_nicht_anzeigen')->default(0)->nullable();
$table->integer('tabellen_id')->default(0)->nullable(); $table->integer('tabellen_id')->default(0)->nullable();
$table->integer('textblock_id')->default(0)->nullable(); $table->integer('textblock_id')->default(0)->nullable();
$table->integer('konto_textblock_id')->default(0)->nullable();
$table->integer('sort')->default(0); $table->integer('sort')->default(0);
$table->double('ordnungszahl')->default(0); $table->double('ordnungszahl')->default(0);
$table->integer('seite')->default(0); $table->integer('seite')->default(0);