Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0035780 | Retail Modules | Multi order payment | public | 2017-04-12 16:54 | 2017-04-21 09:34 |
Reporter | migueldejuana | ||||
Assigned To | ranjith_qualiantech_com | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | RR17Q3 | |||
Merge Request Status | |||||
Review Assigned To | guilleaer | ||||
OBNetwork customer | No | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0035780: Pay Open Tickets payment are lost when reloading | ||||
Description | Payments created in Pay Open Tickets are not part from the orders loaded till we press DONE button. Orders are saved in the local database but Multiorder payments no, so we need to persist those payments to don't loose them whe reloading. | ||||
Steps To Reproduce | - Login in Web POS - Add Avalanche Transceiver, order total is 150,50 - Press Pay Open Tickets option and load created order - Add a payment with Cash of 100 - Reload browser - ERROR! The payment has dissapeared | ||||
Proposed Solution | We can save Multiorder payments in localstorage to persist them. Each time we add a payment in Pay Open Tickets we will persist multiorder payments in localstorage. When loading orders from local database after a reload(being in Pay Open Tickets window) we must also restore multiorder payments. Payments are an array and we cannot save them in localstorage so we will need to code/decode to save/load them. There are examples in the code using toJSON and stringify Do not forget to reset localstorage created attr after closing Multiorder window. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2017-04-12 16:54 | migueldejuana | New Issue | |||
2017-04-12 16:54 | migueldejuana | Assigned To | => Retail | ||
2017-04-12 16:54 | migueldejuana | OBNetwork customer | => No | ||
2017-04-12 16:54 | migueldejuana | Triggers an Emergency Pack | => No | ||
2017-04-12 17:32 | marvintm | Resolution time | => 1493762400 | ||
2017-04-12 17:33 | marvintm | Severity | minor => major | ||
2017-04-18 13:03 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | ||
2017-04-18 13:03 | ranjith_qualiantech_com | Status | new => scheduled | ||
2017-04-20 17:59 | hgbot | Checkin | |||
2017-04-20 17:59 | hgbot | Note Added: 0096091 | |||
2017-04-20 17:59 | hgbot | Status | scheduled => resolved | ||
2017-04-20 17:59 | hgbot | Resolution | open => fixed | ||
2017-04-20 17:59 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7b149aea1d08db4982f2b12ff68db88f5a3e8304 [^] | ||
2017-04-20 18:00 | hgbot | Checkin | |||
2017-04-20 18:00 | hgbot | Note Added: 0096092 | |||
2017-04-21 09:34 | guilleaer | Review Assigned To | => guilleaer | ||
2017-04-21 09:34 | guilleaer | Status | resolved => closed | ||
2017-04-21 09:34 | guilleaer | Fixed in Version | => RR17Q3 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|