forked from CGM_Public/pretix_original
Allow to filter for partially paid orders
This commit is contained in:
@@ -334,7 +334,7 @@ class Order(LockModel, LoggedModel):
|
||||
refund_sum=refund_sum_sq,
|
||||
)
|
||||
qs = qs.annotate(
|
||||
payment_refund_sum=Coalesce(payment_sum_sq, 0) - Coalesce(refund_sum_sq, 0),
|
||||
computed_payment_refund_sum=Coalesce(payment_sum_sq, 0) - Coalesce(refund_sum_sq, 0),
|
||||
)
|
||||
|
||||
qs = qs.annotate(
|
||||
|
||||
Reference in New Issue
Block a user