feat: replace custom discount with absolute value in favor of percentage
This commit is contained in:
1 parent
d6c2cfaf1c
commit
f8ff4b82a3
15 files changed
+105
-50
No files matched your search
@@ -164,7 +164,7 @@
|
||||
{% endif %}
|
||||
{% if ctx.priceBreakdown.totalDiscountDetails is not null %}
|
||||
<tr class="text-green-700">
|
||||
<td class="p-2">{{ ctx.priceBreakdown.totalDiscountDetails.label }} {{ ctx.priceBreakdown.totalDiscountDetails.percent }} %</td>
|
||||
<td class="p-2">{{ ctx.priceBreakdown.totalDiscountDetails.label }}</td>
|
||||
<td class="p-2 text-right whitespace-nowrap">– {{ (ctx.priceBreakdown.totalDiscountDetails.amount / 100)|format_currency(currency) }}</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
|
||||
Reference in new issue
Block a user