From 9c076006c8804acf3afe2a76a9f6e937184fc975 Mon Sep 17 00:00:00 2001 From: Johannes Hoermann <j.hoermann@adito.de> Date: Wed, 26 Jun 2019 08:47:39 +0200 Subject: [PATCH] add VAT to identical pricelist validation --- process/Product_lib/process.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/process/Product_lib/process.js b/process/Product_lib/process.js index 83d5c5066d..58fef17856 100644 --- a/process/Product_lib/process.js +++ b/process/Product_lib/process.js @@ -332,7 +332,6 @@ ProductUtils.getProductDetails = function(pid, priceListFilter, additionalProduc ProductUtils.checkForIndenticalPriceLists = function(pid, priceList) { var PriceLists = this.getProductDetails(pid).PriceLists; - logging.log("PL: " + JSON.stringify(priceList, null, "\t")) for (var pricelist in PriceLists) { //different pricelist id //equal price list @@ -340,7 +339,6 @@ ProductUtils.checkForIndenticalPriceLists = function(pid, priceList) { //equal currency //equal pp/sp //equal vat - logging.log(JSON.stringify(PriceLists[pricelist], null, "\t")) if (priceList.priceListId != PriceLists[pricelist].priceListId && priceList.priceList == PriceLists[pricelist].priceList && parseFloat(priceList.fromQuantity) == parseFloat(PriceLists[pricelist].fromQuantity) -- GitLab