feat: replace custom discount with absolute value in favor of percentage
This commit is contained in:
@@ -89,7 +89,7 @@
|
||||
{% endif %}
|
||||
{% if priceBreakdown.totalDiscountDetails is not null %}
|
||||
<tr>
|
||||
<td style="{{ cell }}">{{ priceBreakdown.totalDiscountDetails.label }} {{ priceBreakdown.totalDiscountDetails.percent }} %</td>
|
||||
<td style="{{ cell }}">{{ priceBreakdown.totalDiscountDetails.label }}</td>
|
||||
<td style="{{ amount }}">– {{ (priceBreakdown.totalDiscountDetails.amount / 100)|format_currency(currency) }}</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user