Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0051815 | Retail Modules | Web POS | public | 2023-03-08 19:31 | 2023-03-20 13:57 |
Reporter | william_vermersch | ||||
Assigned To | radhakrishnan | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | RR23Q2 | |||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0051815: Maximum limit message displayed then removed instantly | ||||
Description | When inputting an amount superior to the max limit amount of the payment, the message is displayed and removed instantly when doing specific workflow. | ||||
Steps To Reproduce | Set a maximum limit amount of 1000€ for a payment method in the touchpoint type screen (payment method tab). (Cash for example) Go on the POS and do a ticket with a total amount superior to 1000€ Select a payment method (not the one configured) (Not Cash for example) Input an amount superior to 1000€ (1100€) Click on the payment method that you configured (Cash for example) => The message is displayed then removed | ||||
Proposed Solution | It seems that the method maxLimitAmountError is called multiple time (first time the inEvent.show is true, then it is false, so it is erasing the error message): maxLimitAmountError: function(inSender, inEvent) { if (inEvent.show) { this.$.errorMaxlimitamount.setContent( OB.I18N.getLabel('OBPOS_PaymentMaxLimitAmount', [ OB.I18N.formatCurrencyWithSymbol( inEvent.maxLimitAmount, inEvent.currency, inEvent.symbolAtRight ) ]) ); this.$.errorMaxlimitamount.show(); } else { this.$.errorMaxlimitamount.setContent(''); this.$.errorMaxlimitamount.hide(); } this.alignErrorMessages(); }, It seems to be called in the second and third time by this part of code : // Clear limit amount error when click on PaymentMethod button if (OB.POS.terminal.terminal.paymentnames[inEvent.value.status]) { this.bubble('onMaxLimitAmountError', { show: false, maxLimitAmount: 0, currency: '', symbolAtRight: true }); } But the message should be kept (either by displaying it again or make it persistent). | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2023-03-08 19:31 | william_vermersch | New Issue | |||
2023-03-08 19:31 | william_vermersch | Assigned To | => Retail | ||
2023-03-08 19:31 | william_vermersch | Triggers an Emergency Pack | => No | ||
2023-03-08 19:39 | william_vermersch | Proposed Solution updated | |||
2023-03-08 19:42 | william_vermersch | Proposed Solution updated | |||
2023-03-09 07:31 | radhakrishnan | Assigned To | Retail => radhakrishnan | ||
2023-03-09 07:31 | radhakrishnan | Status | new => scheduled | ||
2023-03-15 12:57 | hgbot | Note Added: 0147539 | |||
2023-03-20 13:57 | hgbot | Resolution | open => fixed | ||
2023-03-20 13:57 | hgbot | Status | scheduled => closed | ||
2023-03-20 13:57 | hgbot | Note Added: 0147710 | |||
2023-03-20 13:57 | hgbot | Fixed in Version | => RR23Q2 | ||
2023-03-20 13:57 | hgbot | Note Added: 0147711 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|