mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
Treat partially paid expired orders as overpaid orders (Z#23147757) (#3990)
* Treat partially paid expired orders as overpaid orders (Z#23147757) * Use is_overpaid from annotate_overpayments in OrderFilterForm * Revert change to pending sum * Show warning on order page --------- Co-authored-by: Mira Weller <weller@rami.io>
This commit is contained in:
@@ -124,6 +124,13 @@
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
{% elif order.status == "e" and order.payment_refund_sum != 0 %}
|
||||
<div class="alert alert-warning">
|
||||
{% blocktrans trimmed with amount=order.payment_refund_sum|money:request.event.currency %}
|
||||
This order is expired even though it received payments of {{ amount }}. You can choose to refund
|
||||
the money below or reactivate it by extending the payment deadline.
|
||||
{% endblocktrans %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="row">
|
||||
|
||||
Reference in New Issue
Block a user