Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035515
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Retail Modules] Web POSmajoralways2017-03-14 17:332017-05-08 12:23
ReporterguillermogilView Statuspublic 
Assigned Tojorge-garcia 
PriorityurgentResolutionopenFixed in Version
StatusscheduledFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0035515: It is not possible to add twice the same discount on the same line

DescriptionIt is not possible to add twice the same discount on the same line for manual or manual by total.

This is preventing to add manual ones and it should not be needed or it should have more logic

      for (i = 0; i < promotions.length; i++) {
        if (promotions[i].ruleId === rule.id) {
          debugger;
          if (promotions[i].hidden !== true) {
            promotions[i] = disc;
            replaced = true;
            break;
          }
        }
      }

Regarding the Manual by Total it should be needed to review the discount engine and applyPromotions.
Steps To Reproduce- Login on WebPOS
- Add a product
- Add a variable discount of 5€
- Add the same variable discount but now of 8€

There is only one of them
Proposed SolutionAllow to add them by default or by config
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0035391 newguillermogil The whole rule model should be inside the discount to apply 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2017-03-14 17:33 guillermogil New Issue
2017-03-14 17:33 guillermogil Assigned To => Retail
2017-03-14 17:33 guillermogil Resolution time => 1459720800
2017-03-14 17:33 guillermogil Triggers an Emergency Pack => No
2017-03-15 18:24 marvintm Resolution time 1459720800 => 1491256800
2017-03-15 18:24 marvintm Type defect => design defect
2017-03-27 08:00 guillermogil Assigned To Retail => jorge-garcia
2017-03-27 08:00 guillermogil Status new => scheduled
2017-03-29 08:13 guillermogil Relationship added related to 0035391
2017-05-08 12:23 marvintm Resolution time 1491256800 =>


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker