mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Merge commit 'f8ccd5bc22
' into d-buchmann-patch-1
This commit is contained in:
commit
2b470e6cdd
1 changed files with 3 additions and 1 deletions
|
@ -41,6 +41,8 @@ class PriceDTO
|
|||
public readonly ?string $currency_iso_code,
|
||||
/** @var bool If the price includes tax */
|
||||
public readonly ?bool $includes_tax = true,
|
||||
/** @var float the price related quantity */
|
||||
public readonly ?float $price_related_quantity = 1.0,
|
||||
)
|
||||
{
|
||||
$this->price_as_big_decimal = BigDecimal::of($this->price);
|
||||
|
@ -54,4 +56,4 @@ class PriceDTO
|
|||
{
|
||||
return $this->price_as_big_decimal;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue