Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0039925 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2019-01-11 09:37 | 2019-03-26 16:50 | |||
Reporter | jorgewederago | View Status | public | |||||
Assigned To | rqueralta | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR19Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 523fa8902cfa | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | OBPS | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0039925: Prepayment UI is being triggered even if we do not have the configuration active | |||||||
Description | It 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 Reproduce | For this steps it is needed to have retail coupons installed. -Backend *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 Solution | Take into account the value of OB.MobileApp.model.get('terminal').terminalType.calculateprepayments in this piece of code: if (!receiptHasPrepaymentAmount) { this.$.prepaymentsbuttons.hide(); this.$.exactbutton.show(); } else { this.$.prepaymentsbuttons.show(); this.$.exactbutton.hide(); } | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0109656) hgbot (developer) 2019-02-08 18:42 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 523fa8902cfacbf67745d96a4bffbbaf3aeaa8f1 Author: Rafael Queralta <rafaelcuba81 <at> gmail.com> Date: Thu Feb 07 11:42:08 2019 -0500 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/523fa8902cfacbf67745d96a4bffbbaf3aeaa8f1 [^] Fixed issue 39925: Prepayment UI is being triggered even if we do not have the configuration active - Taked into account the value of property: OB.MobileApp.model.get('terminal').terminalType.calculateprepayments --- M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js --- |
![]() |
|||
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 | OBNetwork customer | => No |
2019-01-11 09:37 | jorgewederago | Resolution time | => 1548975600 |
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 |
2019-01-28 12:59 | marvintm | OBNetwork customer | No => OBPS |
2019-02-08 18:42 | hgbot | Checkin | |
2019-02-08 18:42 | hgbot | Note Added: 0109656 | |
2019-02-08 18:42 | hgbot | Status | scheduled => resolved |
2019-02-08 18:42 | hgbot | Resolution | open => fixed |
2019-02-08 18:42 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/523fa8902cfacbf67745d96a4bffbbaf3aeaa8f1 [^] |
2019-02-11 11:09 | marvintm | Review Assigned To | => marvintm |
2019-02-11 11:09 | marvintm | Status | resolved => closed |
2019-02-11 11:09 | marvintm | Fixed in Version | => RR19Q2 |
2019-03-26 16:50 | marvintm | Status | closed => new |
2019-03-26 16:50 | marvintm | Resolution | fixed => open |
2019-03-26 16:50 | marvintm | Fixed in Version | RR19Q2 => |
2019-03-26 16:50 | marvintm | Status | new => scheduled |
2019-03-26 16:50 | marvintm | Status | scheduled => resolved |
2019-03-26 16:50 | marvintm | Fixed in Version | => RR19Q2 |
2019-03-26 16:50 | marvintm | Resolution | open => fixed |
2019-03-26 16:50 | marvintm | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |