Applied fix from trunk for revision: 1859911

===

Fixed: Issue in order history promotion.
(OFBIZ-10847)
Issue: According to the promotion customer should spend 000 in any 12 months to avail 5% discount. The system is providing the discount even if the customer is not logged in.
Thanks Lalit Dashora for reporting the issue and providing the patch.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/branches/release18.12@1859912 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Suraj Khurana
2019-05-25 06:26:30 +00:00
parent 7fcea6f2ef
commit 9b9cdb650e
@@ -384,7 +384,7 @@ def productOrderHist() {
String partyId = cart.getPartyId()
GenericValue userLogin = cart.getUserLogin()
Map result = success()
int compareBase = 1
int compareBase = -1
result.operatorEnumId = "PPC_GTE"
if (partyId && userLogin && condValue) {