Skip to content
Snippets Groups Projects
Commit d46f3166 authored by Maximilian Hofmann's avatar Maximilian Hofmann
Browse files

Wiederherstellen: [Projekt: Entwicklung - Neon][TicketNr.: 1035830][Testen der...

Wiederherstellen: [Projekt: Entwicklung - Neon][TicketNr.: 1035830][Testen der Preislisten-Mechanik]
parent ad61c3ed
No related branches found
No related tags found
No related merge requests found
......@@ -188,6 +188,7 @@ ProductUtils.getProductDetails = function(pid, priceListFilter, additionalProduc
.and("validPP.PRODUCT_ID = PRODUCTID")
.andPrepare(["PRODUCTPRICE", "CURRENCY", "validPP"], priceListFilter.currency)
.andPrepare(["PRODUCTPRICE", "VALID_FROM", "validPP"], datetime.date().toString(), "# <= ?")
.andPrepare(["PRODUCTPRICE", "VALID_TO", "validPP"], datetime.date().toString(), "# >= ?")
.andPrepare(["PRODUCTPRICE", "FROMQUANTITY", "validPP"], priceListFilter.quantity, "# <= ?")
.andSqlCondition(SqlCondition.begin()
.orPrepare(["PRODUCTPRICE", "CONTACT_ID", "validPP"], priceListFilter.relationId)
......
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