Fix inverted logic

This commit is contained in:
Raphael Michel
2020-11-02 17:58:44 +01:00
parent e07cca9148
commit b4c18c6ea6

View File

@@ -25,7 +25,7 @@
<strong>{{ pending }}</strong>. The order total is <strong>{{ total }}</strong>.
{% endblocktrans %}
</p>
{% if order.status != "c" and order.positions.count > 0 %}
{% if order.status == "c" or order.positions.count == 0 %}
<p>
{% blocktrans trimmed %}
Since the order is already canceled, this will not affect its state.