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

[Projekt: Entwicklung - Neon][TicketNr.: 1061849][Anlage von Angebotsposition...

[Projekt: Entwicklung - Neon][TicketNr.: 1061849][Anlage von Angebotsposition zieht falschen Preis von Produkt]
parent 7de6016e
No related branches found
No related tags found
No related merge requests found
......@@ -291,10 +291,10 @@ ProductUtils.getProductDetails = function(pid, priceListFilter, additionalProduc
for(var index in priceLists)
{
if (!escape && priceLists[index]["priceList"] == priceListFilter.priceList)
if (priceLists[index]["priceList"] == priceListFilter.priceList)
{
res = priceLists[index]; //The first time the condition is true the correct pricelist is found.
escape = true; // The object is ordered by fromQuantity descending so we have to stop after the condition is true
break; // The object is ordered by fromQuantity descending so we have to stop after the condition is true
}
}
return res;
......
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