mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
Allow to round taxes on order-level
This commit is contained in:
@@ -649,7 +649,9 @@ class OrderTransactions(OrderView):
|
||||
ctx['sums'] = self.order.transactions.aggregate(
|
||||
sum_count=Sum('count'),
|
||||
full_price=Sum(F('count') * F('price')),
|
||||
full_price_includes_rounding_correction=Sum(F('count') * F('price_includes_rounding_correction')),
|
||||
full_tax_value=Sum(F('count') * F('tax_value')),
|
||||
full_tax_value_includes_rounding_correction=Sum(F('count') * F('tax_value_includes_rounding_correction')),
|
||||
)
|
||||
return ctx
|
||||
|
||||
|
||||
Reference in New Issue
Block a user