Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0037284 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Retail Modules] Web POS | minor | have not tried | 2017-11-14 09:48 | 2017-12-26 18:17 | |||
Reporter | adrianromero | View Status | public | |||||
Assigned To | adrianromero | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR18Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 2d661d17056e | ||||
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 | guilleaer | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0037284: It should be good to have an utility function to get a payment by key | |||||||
Description | To reuse code it should be good to have the following utility function: OB.UTIL.getPaymentByKey = function (key) { var i; var terminalPayments = OB.MobileApp.model.get('payments'); for (i = 0; i < terminalPayments.length; i++) { if (terminalPayments[i].payment.searchKey === key) { return terminalPayments[i]; } } return null; }; | |||||||
Steps To Reproduce | N/A | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0100508) adrianromero (viewer) 2017-11-14 09:55 |
See attached patch |
(0100961) hgbot (developer) 2017-12-11 13:31 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 2d661d17056ebcccd6b337420c4220884db32c46 Author: Adrián Romero <adrianromero <at> openbravo.com> Date: Tue Nov 14 09:51:08 2017 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2d661d17056ebcccd6b337420c4220884db32c46 [^] Fixes issue 0037284: Implements JS function getPaymentByKey() --- M web/org.openbravo.retail.posterminal/js/utils/ob-utilitiesuipos.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2017-11-14 09:48 | adrianromero | New Issue | |
2017-11-14 09:48 | adrianromero | Assigned To | => Retail |
2017-11-14 09:48 | adrianromero | OBNetwork customer | => No |
2017-11-14 09:48 | adrianromero | Triggers an Emergency Pack | => No |
2017-11-14 09:55 | adrianromero | File Added: issue0037284.patch | |
2017-11-14 09:55 | adrianromero | Note Added: 0100508 | |
2017-11-14 09:56 | adrianromero | Review Assigned To | => guilleaer |
2017-12-11 13:31 | hgbot | Checkin | |
2017-12-11 13:31 | hgbot | Note Added: 0100961 | |
2017-12-11 13:31 | hgbot | Status | new => resolved |
2017-12-11 13:31 | hgbot | Resolution | open => fixed |
2017-12-11 13:31 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2d661d17056ebcccd6b337420c4220884db32c46 [^] |
2017-12-11 13:46 | marvintm | Assigned To | Retail => adrianromero |
2017-12-26 18:17 | guilleaer | Status | resolved => closed |
2017-12-26 18:17 | guilleaer | Fixed in Version | => RR18Q1 |
Copyright © 2000 - 2009 MantisBT Group |