Skip to content

Commit

Permalink
Fix Ticket pricing
Browse files Browse the repository at this point in the history
  • Loading branch information
engram-design committed Nov 9, 2024
1 parent 2360bad commit 11fff6c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/elements/Ticket.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,11 @@ public function getBasePrice(): ?float
return $this->getType()?->price ?? null;
}

public function getPrice(): ?float
{
return $this->getBasePrice();
}

public function getStock(): int
{
// Available to purchase is capacity (event or ticket) - purchased tickets
Expand Down

0 comments on commit 11fff6c

Please sign in to comment.