nutzwert in tabelle rauemall und orientierung
This commit is contained in:
1 parent
fe03a71735
commit
5583bed563
24 files changed
+726
-526
No files matched your search
@@ -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,
|
||||
]);
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user