Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036992Retail ModulesWeb POSpublic2017-10-03 11:312017-10-23 17:08
malsasua 
jorge-garcia 
normalmajoralways
closedfixed 
5
 
RR18Q1 
guilleaer
No
0036992: It is possible to pay using unactivate payment methods (mobile or tablet touch screen)
Using a mobile or tablet touch screen, it is possible to pay using payment methods not active in the POS.

Although the payment method is not active in WEBPOS Payment tab, it is possible to select them.
terminal> POS Terminal Type: VBS POS Terminal Type
          tab> payment methods: Credit card
                 set as NO refundable

POS (in a touch screen) >
 . do login
 . load a verified return
 . click in total button -> payment tab is displayed
 . Card button is not active ->
   . click in Card button
   . click 1 and 0 keys
   . click "enter" key
Error: Card payment is added with amount 10 (see atachment)
No tags attached.
png Screenshot_2017-10-03-11-06-25.png (159,531) 2017-10-03 11:36
https://issues.openbravo.com/file_download.php?file_id=11133&type=bug
png
Issue History
2017-10-03 11:31malsasuaNew Issue
2017-10-03 11:31malsasuaAssigned To => Retail
2017-10-03 11:31malsasuaResolution time => 1508796000
2017-10-03 11:31malsasuaTriggers an Emergency Pack => No
2017-10-03 11:36malsasuaFile Added: Screenshot_2017-10-03-11-06-25.png
2017-10-10 12:14jorge-garciaStatusnew => scheduled
2017-10-10 12:14jorge-garciaAssigned ToRetail => jorge-garcia
2017-10-11 08:46hgbotCheckin
2017-10-11 08:46hgbotNote Added: 0099860
2017-10-11 08:46hgbotStatusscheduled => resolved
2017-10-11 08:46hgbotResolutionopen => fixed
2017-10-11 08:46hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/1e18dd6a201fc4622873eb3f8d1fabe259ca2e54 [^]
2017-10-23 17:08guilleaerReview Assigned To => guilleaer
2017-10-23 17:08guilleaerStatusresolved => closed
2017-10-23 17:08guilleaerFixed in Version => RR18Q1

Notes
(0099860)
hgbot   
2017-10-11 08:46   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 1e18dd6a201fc4622873eb3f8d1fabe259ca2e54
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Oct 10 15:29:21 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/1e18dd6a201fc4622873eb3f8d1fabe259ca2e54 [^]

Fixed issue 36992: It is possible to pay using unactivate payment methods
 in mobile or tablet touch screen devices

The solution is to verify if the button is disabled in registered buttons. If so,
we do nothing.

---
M web/org.openbravo.mobile.core/source/component/ob-keyboard.js
---