fix: coupon code is now uppercase

This commit is contained in:
Arman committed 2024-01-16 11:58:21 +01:00
1 parent 50865bf885
commit 7f3f19fda0
1 file changed
+2 -2
@@ -55,7 +55,7 @@
<div>
<span class="icon-exclamation-circle u-color-text-danger" />
<span>
{couponData.code} is not a valid promo code
{couponData.code.toUpperCase()} is not a valid promo code
</span>
</div>
{:else if couponData?.status === 'active'}
@@ -64,7 +64,7 @@
<span class="icon-tag u-color-text-success" />
<slot data={couponData}>
<span>
{couponData.code} applied (-${couponData.credits})
{couponData.code.toUpperCase()} applied (-${couponData.credits})
</span>
</slot>
</div>