You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ch...@apache.org on 2016/12/02 14:30:30 UTC

svn commit: r1772354 - /ofbiz/trunk/specialpurpose/ecommerce/groovyScripts/catalog/MiniProductSummary.groovy

Author: chrisg
Date: Fri Dec  2 14:30:30 2016
New Revision: 1772354

URL: http://svn.apache.org/viewvc?rev=1772354&view=rev
Log:
Fixed: Corrected typo which caused calcTaxForDisplay service call to fail (problem with Ecommerce frontend when using showPricesWithVatTax)

Modified:
    ofbiz/trunk/specialpurpose/ecommerce/groovyScripts/catalog/MiniProductSummary.groovy

Modified: ofbiz/trunk/specialpurpose/ecommerce/groovyScripts/catalog/MiniProductSummary.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/groovyScripts/catalog/MiniProductSummary.groovy?rev=1772354&r1=1772353&r2=1772354&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/groovyScripts/catalog/MiniProductSummary.groovy (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/groovyScripts/catalog/MiniProductSummary.groovy Fri Dec  2 14:30:30 2016
@@ -56,7 +56,7 @@ if (miniProduct && productStoreId && pro
     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")