forked from CGM_Public/pretix_original
Fixed a bug that lead to wrong payment type links in the order overview
This commit is contained in:
@@ -165,7 +165,7 @@ def order_overview(event: Event) -> Tuple[List[Tuple[ItemCategory, List[Item]]],
|
|||||||
for pprov, total in num_total.items():
|
for pprov, total in num_total.items():
|
||||||
ppobj = DummyObject()
|
ppobj = DummyObject()
|
||||||
ppobj.name = provider_names.get(pprov, pprov)
|
ppobj.name = provider_names.get(pprov, pprov)
|
||||||
ppobj.provider = provider
|
ppobj.provider = pprov
|
||||||
ppobj.has_variations = False
|
ppobj.has_variations = False
|
||||||
ppobj.num_total = total
|
ppobj.num_total = total
|
||||||
ppobj.num_canceled = num_canceled.get(pprov, (0, 0))
|
ppobj.num_canceled = num_canceled.get(pprov, (0, 0))
|
||||||
|
|||||||
Reference in New Issue
Block a user