mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
Pass cart positions to fee_calculation_for_cart
This commit is contained in:
@@ -505,8 +505,10 @@ class PaymentStep(QuestionsViewMixin, CartMixin, TemplateFlowStep):
|
||||
|
||||
@cached_property
|
||||
def _total_order_value(self):
|
||||
cart = get_cart(self.request)
|
||||
total = get_cart_total(self.request)
|
||||
total += sum([f.value for f in get_fees(self.request.event, self.request, total, self.invoice_address, None)])
|
||||
total += sum([f.value for f in get_fees(self.request.event, self.request, total, self.invoice_address, None,
|
||||
cart)])
|
||||
return Decimal(total)
|
||||
|
||||
@cached_property
|
||||
|
||||
Reference in New Issue
Block a user