Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Include tax info in capture, refund modals

Anna Siwik400db7c60c37
diff --git a/templates/dashboard/order/modal/capture.html b/templates/dashboard/order/modal/capture.html
index 458c7b55bf..9aeba9051a 100644
--- a/templates/dashboard/order/modal/capture.html
+++ b/templates/dashboard/order/modal/capture.html
@@ -21,6 +21,9 @@
<li class="list-item">{% trans "Order total:" context "Modal capture payment list title" %}
{{ payment.order.total.gross|amount:'html' }}
</li>
+ <li class="list-item">{% trans "Taxes (included):" context "Modal capture payment list title" %}
+ {{ payment.order.total.tax|amount:'html' }}
+ </li>
<li class="list-item">{% trans "Captured amount:" context "Modal capture payment list title" %}
{{ captured|currencyfmt:currency }}
</li>
diff --git a/templates/dashboard/order/modal/refund.html b/templates/dashboard/order/modal/refund.html
index 965c9b95b8..05b068cf48 100644
--- a/templates/dashboard/order/modal/refund.html
+++ b/templates/dashboard/order/modal/refund.html
@@ -22,6 +22,9 @@
<li class="list-item">{% trans "Order total:" context "Modal refund payment list title" %}
{{ payment.order.total.gross|amount:'html' }}
</li>
+ <li class="list-item">{% trans "Taxes (included):" context "Modal refund payment list title" %}
+ {{ payment.order.total.tax|amount:'html' }}
+ </li>
<li class="list-item">{% trans "Captured amount:" context "Modal refund payment list title" %}
{{ captured|currencyfmt:currency }}
</li>