Skip to content
Snippets Groups Projects
Commit fdd15fda authored by Benjamin Ulrich's avatar Benjamin Ulrich :speech_balloon:
Browse files

1050799 die ersten beiden Punkte gefixt.

parent f56ab008
No related branches found
No related tags found
No related merge requests found
......@@ -256,6 +256,13 @@ ItemUtils.prototype.insertPartsList = function(columns, productId, assignedTo, c
price = ProductDetails.PriceListToUse.price;
vat = ProductDetails.PriceListToUse.vat;
}
if(newSelect("takeprice")
.from("prod2prod")
.whereIfSet("PROD2PROD.PROD2PRODID", p2pid)
.cell() == 0){
price = 0
}
var vals = [newid
, self.offerOrderId
......@@ -267,7 +274,7 @@ ItemUtils.prototype.insertPartsList = function(columns, productId, assignedTo, c
, price
, vat
, P2pObject.quantity
, (P2pObject.optional) ? "1" : "0"
, P2pObject.optional
, pos
, itemsort]
// add aditional details
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment