Add coupon info to order detail
This commit is contained in:
parent
fde08035b7
commit
0bf982e7f8
@ -109,7 +109,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
{% if order.coupon_amount > 0 %}
|
{% if order.coupon_amount > 0 %}
|
||||||
<tr>
|
<tr>
|
||||||
<th colspan="4">Discount:</th>
|
<th colspan="4">Discount {% if order.coupon %}<a href="{% url 'dashboard:coupon-detail' order.coupon.pk %}">{{ order.coupon }} ↗</a>{% endif %}:</th>
|
||||||
<td>${{ order.coupon_amount }}</td>
|
<td>${{ order.coupon_amount }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user