Skip to content
Snippets Groups Projects
Commit e8fb3e25 authored by Christoph Manhart's avatar Christoph Manhart
Browse files

[Projekt: xRM-Sales][TicketNr.: 1076616][Angebot - Firmenspezifische...

[Projekt: xRM-Sales][TicketNr.: 1076616][Angebot - Firmenspezifische Preisliste wird nicht korrekt gesetzt]
Use falsey check, cause there is a case where priceListFilter.pricelist doesnt exist
parent 77c2176c
No related branches found
No related tags found
No related merge requests found
......@@ -296,7 +296,7 @@ ProductUtils.getProductDetails = function(pid, pPriceListFilter, pAdditionalProd
for (var list in priceLists)
{
//customer deposited price list (defined by Attribute)
if (priceListFilter.priceList != "" && priceListFilter.priceList != null)
if (priceListFilter.priceList)
{
// use if it has the correct pricelist ("-type"). e.g: PRICELISTSERVICE, PRICELISTSPECIAL, PRICELISTKEY, PRICELISTDEFAULT
if (priceLists[list]["priceList"] == priceListFilter.priceList)
......
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