Fix im Anmeldungs-Ende
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user