Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Show current order total in payment actions modal
Marcin Gębalab921f37271ea
diff --git a/saleor/dashboard/templates/dashboard/includes/modal_capture_refund.html b/saleor/dashboard/templates/dashboard/includes/modal_capture_refund.htmlindex 3f8ec398ac..16de9d0768 100644--- a/saleor/dashboard/templates/dashboard/includes/modal_capture_refund.html+++ b/saleor/dashboard/templates/dashboard/includes/modal_capture_refund.html@@ -1,6 +1,7 @@{% load i18n %}{% load babel %}{% load bootstrap %}+{% load prices_i18n %}<div class="modal-header"><a href="#" data-dismiss="modal" aria-hidden="true" class="close">×</a>@@ -16,6 +17,7 @@</form><p>{% trans "Before this action" %}</p><ul>+ <li>{% trans "Order total: " %}{% gross payment.order.get_total %}</li><li>{% trans "Captured amount: " %}{{ captured|currencyfmt:currency }} </li></ul></div>