changes done

This commit is contained in:
salam committed 2025-12-10 13:55:30 +01:00
1 parent ddbf171881
commit 03fc1074b9
25 files changed
+471 -426

No files matched your search

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