Allow to filter for partially paid orders

This commit is contained in:
Raphael Michel
2020-12-15 16:06:59 +01:00
parent 821cb54ad0
commit 4d36676cf8
4 changed files with 18 additions and 8 deletions

View File

@@ -162,11 +162,11 @@
{% elif o.is_pending_with_full_payment %}
<span class="label label-danger">{% trans "FULLY PAID" %}</span>
{% endif %}
{% if o.payment_refund_sum == o.total or o.payment_refund_sum == 0 %}
{% if o.computed_payment_refund_sum == o.total or o.computed_payment_refund_sum == 0 %}
<span class="text-muted">
{% endif %}
{{ o.payment_refund_sum|money:request.event.currency }} /
{% if o.payment_refund_sum == o.total or o.payment_refund_sum == 0 %}
{{ o.computed_payment_refund_sum|money:request.event.currency }} /
{% if o.computed_payment_refund_sum == o.total or o.computed_payment_refund_sum == 0 %}
</span>
{% endif %}
{{ o.total|money:request.event.currency }}