events: extend system configurations and set invoice formatter (#1995)

This commit is contained in:
Kevin Papst
2020-09-25 19:51:23 +02:00
committed by GitHub
parent 23f484a14d
commit 2b033710e2
10 changed files with 119 additions and 41 deletions

View File

@@ -267,11 +267,18 @@ final class InvoiceModel
return $this;
}
public function getFormatter(): ?InvoiceFormatter
public function getFormatter(): InvoiceFormatter
{
return $this->formatter;
}
public function setFormatter(InvoiceFormatter $formatter): InvoiceModel
{
$this->formatter = $formatter;
return $this;
}
public function getCurrency(): string
{
if (null === $this->getCustomer()) {