Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2019-01-11 09:372019-01-12 15:28
ReporterjorgewederagoView Statuspublic 
Assigned Torqueralta 
PrioritynormalResolutionopenFixed 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

0039925: Prepayment UI is being triggered even if we do not have the configuration active

DescriptionIt is possible to arrive to an inconsistent state with prepayments even if the the POS Terminal type is not configured to use prepayments.
Steps To ReproduceFor this steps it is needed to have retail coupons installed.
*Configure a coupon to use in the transaction
-Front End
*Add a product
*Add the coupon
*Press total and go to the payments tab
*Open the console in developers tools
*Remove the coupon from OB.MobileApp.model.receipt.get('coupons')
*Execute a OB.MobileApp.model.receipt.calculateReceipt()
*The UI will be a mix of the standard one and the one from PrePayments
Proposed SolutionTake into account the value of OB.MobileApp.model.get('terminal').terminalType.calculateprepayments in this piece of code:

      if (!receiptHasPrepaymentAmount) {
      } else {
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2019-01-11 09:37 jorgewederago New Issue
2019-01-11 09:37 jorgewederago Assigned To => Retail
2019-01-11 09:37 jorgewederago Triggers an Emergency Pack => No
2019-01-12 15:28 rqueralta Assigned To Retail => rqueralta
2019-01-12 15:28 rqueralta Status new => scheduled

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker