nutzwert in tabelle rauemall und orientierung

This commit is contained in:
salam committed 2025-10-22 19:16:10 +02:00
1 parent fe03a71735
commit 5583bed563
24 files changed
+726 -526

No files matched your search

+7 -1
View File
@@ -14,6 +14,7 @@ class Raeumealle extends Model
'raumart',
'faktor',
'flaeche',
'nutzwert',
];
public static function boot()
@@ -21,7 +22,12 @@ class Raeumealle extends Model
parent::boot();
self::updated(function ($model) {
Projekte::where('id', $model['projekte_id'])->update(['evaluation_gutachten' => false]);
Projekte::where('id', $model['projekte_id'])->update([
'evaluation_gutachten' => false,
'pdf_nutzwerte_status' => false,
'pdf_gutachten_status' => false,
'excel_nutzwerte_status' => false,
]);
});
}
}