more tests
All checks were successful
Build and Publish / Metadata (push) Successful in 9s
Build and Publish / BuildAndDeployAmd64 (push) Successful in 1m20s
Build and Publish / BuildAndDeployArm64 (push) Successful in 4m4s

This commit is contained in:
2025-10-14 19:38:38 +02:00
parent 606df6218a
commit e908a4130b
2 changed files with 14 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ func NewPrice() *Price {
func NewPriceFromIncVat(incVat int64, taxRate float32) *Price {
tax := GetTaxAmount(incVat, int(taxRate*100))
return &Price{
IncVat: incVat - tax,
IncVat: incVat,
VatRates: map[float32]int64{
taxRate: tax,
},