all the refactor
Build and Publish / BuildAndDeployAmd64 (push) Failing after 5s
Build and Publish / BuildAndDeployArm64 (push) Failing after 6s

This commit is contained in:
2026-06-28 17:51:52 +02:00
parent 7db0d236c7
commit aa8b2bdedc
84 changed files with 4328 additions and 2344 deletions
+1 -1
View File
@@ -305,7 +305,7 @@ func (c *CartGrain) UpdateTotals() {
voucher.Applied = true
continue
}
value := NewPriceFromIncVat(voucher.Value, 25)
value := NewPriceFromIncVat(voucher.Value, 2500) // 25% in basis points
if c.TotalPrice.IncVat <= value.IncVat {
// don't apply discounts to more than the total price
continue