From 95fc362367e6fbed3e1d54add6e55e701cd85d48 Mon Sep 17 00:00:00 2001 From: Iryna Lagno <ilagno@ebay.com> Date: Fri, 26 Jun 2015 11:18:43 +0300 Subject: [PATCH] MAGETWO-39293: Wrong currency symbol --- .../frontend/web/js/view/checkout/summary/grand-total.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/code/Magento/Tax/view/frontend/web/js/view/checkout/summary/grand-total.js b/app/code/Magento/Tax/view/frontend/web/js/view/checkout/summary/grand-total.js index 20fb780746f..275a357771e 100644 --- a/app/code/Magento/Tax/view/frontend/web/js/view/checkout/summary/grand-total.js +++ b/app/code/Magento/Tax/view/frontend/web/js/view/checkout/summary/grand-total.js @@ -7,9 +7,10 @@ define( [ 'Magento_Checkout/js/view/summary/abstract-total', - 'Magento_Checkout/js/model/quote' + 'Magento_Checkout/js/model/quote', + 'Magento_Catalog/js/price-utils' ], - function (Component, quote) { + function (Component, quote, priceUtils) { "use strict"; return Component.extend({ defaults: { @@ -33,7 +34,7 @@ define( if (this.totals()) { price = this.totals().base_grand_total; } - return this.getFormattedPrice(price); + return priceUtils.formatPrice(price, quote.getBasePriceFormat()); }, getGrandTotalExclTax: function() { var totals = this.totals(); -- GitLab