This commit is contained in:
salam committed 2026-05-18 16:24:30 +02:00
1 parent 04e8abb55f
commit d95452bc9d
5 files changed
+123 -78

No files matched your search

@@ -188,7 +188,10 @@ class ProjektObjekteImDetailRelationManager extends RelationManager
->recordActions([
EditAction::make()->iconButton()
->mutateDataUsing(function ($data, $record): array {
$data['nutzwert'] = round($record->methode->faktor * $data['flaeche']);
if (isset($record->methode->faktor)) {
$data['nutzwert'] = round($record->methode->faktor * $data['flaeche']);
}
return $data;
})->after(function (Component $livewire) {