refreshAllgemeinflaechen dispatch
This commit is contained in:
1 parent
261fb0916d
commit
d473bdc2b3
12 files changed
+157
-126
No files matched your search
@@ -12,4 +12,13 @@ class Allgemeinflaechen extends Model
|
||||
'raumart',
|
||||
'flaeche',
|
||||
];
|
||||
|
||||
public static function boot()
|
||||
{
|
||||
parent::boot();
|
||||
|
||||
self::updated(function ($model) {
|
||||
Projekte::where('id', $model['projekte_id'])->update(['evaluation' => false]);
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user