Basic signup for events

This commit is contained in:
2026-03-21 21:02:15 +01:00
parent 23af267896
commit b8341890d3
74 changed files with 4046 additions and 947 deletions

View File

@@ -45,6 +45,11 @@ class Amount {
$this->amount -= $amount->getAmount();
}
public function multiply(float $factor) : Amount {
$this->amount *= $factor;
return $this;
}
public function getFormattedAmount() : string {
$value = number_format( round( $this->amount, 2 ), 2, ',', '.' );
return $value