Fixed: Corrected typo which caused calcTaxForDisplay service call to fail (problem with Ecommerce frontend when using showPricesWithVatTax)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1772354 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Christian Geisert
2016-12-02 14:30:30 +00:00
parent c4dc53c251
commit 690a90c79b
@@ -56,7 +56,7 @@ if (miniProduct && productStoreId && prodCatalogId ) {
context.priceResult = priceResult
// Check if Price has to be displayed with tax
if (productStore.get("showPricesWithVatTax").equals("Y")) {
Map priceMap = runServic('calcTaxForDisplay', ["basePrice": priceResult.get("price"), "locale": locale, "productId": optProductId, "productStoreId": productStoreId])
Map priceMap = runService('calcTaxForDisplay', ["basePrice": priceResult.get("price"), "locale": locale, "productId": optProductId, "productStoreId": productStoreId])
context.price = priceMap.get("priceWithTax")
} else {
context.price = priceResult.get("price")