refreshAllgemeinflaechen dispatch

This commit is contained in:
salam committed 2025-10-20 15:58:20 +02:00
1 parent 261fb0916d
commit d473bdc2b3
12 files changed
+157 -126

No files matched your search

+9
View File
@@ -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]);
});
}
}