From 0bf982e7f8a872862bd1abf96130b5d0ce2555d5 Mon Sep 17 00:00:00 2001 From: Nathan Chapman Date: Mon, 20 Mar 2023 13:56:31 -0600 Subject: [PATCH] Add coupon info to order detail --- dashboard/templates/dashboard/order/detail.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard/templates/dashboard/order/detail.html b/dashboard/templates/dashboard/order/detail.html index acfe5eb..ff9cecd 100644 --- a/dashboard/templates/dashboard/order/detail.html +++ b/dashboard/templates/dashboard/order/detail.html @@ -109,7 +109,7 @@ {% if order.coupon_amount > 0 %} - Discount: + Discount {% if order.coupon %}{{ order.coupon }} ↗{% endif %}: ${{ order.coupon_amount }} {% endif %}