Fixed: Error page shown when clicking on a product Id in the purchase order page
There is no "basePrice" resulting from calculatePurchasePrice service calling but
a simple "price".
This was put in with commit and
Thanks: Woyce Batkins for report
@@ -563,7 +563,7 @@ if (product) {
}
}
}
- variantInfoJS.append(" variantPrices['" + product.productId + "'] = '" + UtilFormatOut.formatCurrency(priceMap.basePrice, currencyUomId, locale, 10) + "';\n")
+ variantInfoJS.append(" variantPrices['" + product.productId + "'] = '" + UtilFormatOut.formatCurrency(priceMap.price, currencyUomId, locale, 10) + "';\n")
variantInfoJS.append(" });\n</script>\n")
context.variantInfoJavaScript = variantInfoJS
