Fix im Anmeldungs-Ende

This commit is contained in:
th.guenther committed 2026-09-11 13:23:53 +02:00
1 parent ef6284d5cc
commit 790e8e1dbc
3 files changed
+113 -3

No files matched your search

+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;
}