{% comment %}Story 3.15 — one banner per dispute of the order; included by the order page (Story 7.1). Expects dispute_list (get_order_disputes()).{% endcomment %} {% for dispute in dispute_list %} {% if dispute.is_open %}
Litige en cours
Montant contesté : {{ dispute.amount|floatformat:2 }} {{ dispute.currency }}
{% if dispute.due_by %}À traiter avant le {{ dispute.due_by|date:"d/m/Y H:i" }}
{% endif %} {% if dispute.url %}{% endif %}Litige gagné
Litige perdu — {{ dispute.amount_lost|floatformat:2 }} {{ dispute.currency }} débité