wip zuabschlaege pdf
This commit is contained in:
1 parent
88d561675d
commit
7917777b93
23 files changed
+510
-604
No files matched your search
+14
-8
@@ -44,13 +44,17 @@ class ProjektObjekteImDetailRelationManager extends RelationManager
|
||||
Select::make('projekt_objekte_id')
|
||||
->relationship('top_nummer', 'top_nummer', fn (Builder $query) => $query->where('projekte_id', $this->getOwnerRecord()->id))
|
||||
->required()
|
||||
->searchable(),
|
||||
TextInput::make('geschoss')
|
||||
->required()
|
||||
->maxLength(255),
|
||||
->searchable()
|
||||
->columnSpan(3),
|
||||
TextInput::make('raumart')
|
||||
->required()
|
||||
->maxLength(255),
|
||||
->maxLength(255)
|
||||
->columnSpan(3),
|
||||
TextInput::make('geschoss')
|
||||
->required()
|
||||
->maxLength(255)
|
||||
->suffixIcon('phosphor-building')
|
||||
->columnSpan(2),
|
||||
TextInput::make('flaeche')
|
||||
->suffix(new HtmlString(' m²'))
|
||||
->rules(['required', 'flaeche' => 'decimal:2'])
|
||||
@@ -61,7 +65,8 @@ class ProjektObjekteImDetailRelationManager extends RelationManager
|
||||
])
|
||||
->afterStateUpdated(function (Component $livewire) {
|
||||
$livewire->dispatch('refreshProjektAllgemeinflaechen');
|
||||
}),
|
||||
})
|
||||
->columnSpan(2),
|
||||
TextInput::make('faktor')
|
||||
->suffixIcon('phosphor-function')
|
||||
->rules(['required', 'faktor' => 'decimal:0,2'])
|
||||
@@ -70,8 +75,9 @@ class ProjektObjekteImDetailRelationManager extends RelationManager
|
||||
})->validationMessages([
|
||||
'required' => 'Die Eingabe eines Faktors ist erforderlich.',
|
||||
'decimal' => 'Für den Faktors sind zwei Dezimalstellen erforderlich.',
|
||||
]),
|
||||
]);
|
||||
])
|
||||
->columnSpan(2),
|
||||
])->columns(6);
|
||||
}
|
||||
|
||||
public function table(Table $table): Table
|
||||
|
||||
Reference in new issue
Block a user