Add coupon info to order detail
This commit is contained in:
parent
fde08035b7
commit
0bf982e7f8
@ -109,7 +109,7 @@
|
||||
</tr>
|
||||
{% if order.coupon_amount > 0 %}
|
||||
<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>
|
||||
</tr>
|
||||
{% endif %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user