mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Remove positivity constraint in apply_voucher
This commit is contained in:
@@ -461,8 +461,10 @@ class CartManager:
|
||||
bundled_sum += bundledprice
|
||||
|
||||
price = self._get_price(p.item, p.variation, voucher, None, p.subevent, bundled_sum=bundled_sum)
|
||||
"""
|
||||
if price.gross > p.price:
|
||||
continue
|
||||
"""
|
||||
|
||||
voucher_use_diff[voucher] += 1
|
||||
ops.append((p.price - price.gross, self.VoucherOperation(p, voucher, price)))
|
||||
|
||||
Reference in New Issue
Block a user