Mehr Bilder, Arbeit am Backend

This commit is contained in:
2026-03-29 21:55:35 +02:00
parent 7c3da000f9
commit 44eb81e99a
18 changed files with 238 additions and 14 deletions

View File

@@ -23,7 +23,7 @@ class ChaosEvents extends Model
}
public static function getActiveEvents(){
return self::where('to_date_internal', '>=', today())
return self::where('active', 1)->where('to_date_internal', '>=', today())
->where('from_date_internal', '<=', today())->get();
}
}