Fix im Anmeldungs-Ende

This commit is contained in:
2026-09-11 13:23:53 +02:00
parent ef6284d5cc
commit 790e8e1dbc
3 changed files with 113 additions and 3 deletions
+2 -2
View File
@@ -239,8 +239,8 @@ class EventResource extends JsonResource{
}
public function getMultiplier() : float {
$earlyBirdEnd = $this->event->early_bird_end;
if ($earlyBirdEnd > now()) {
// Der Frühbucherpreis gilt einschließlich des ganzen Stichtags.
if (now() <= $this->event->early_bird_end->copy()->endOfDay()) {
return 1;
}