Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040420Retail ModulesWeb POSpublic2019-03-20 15:402019-03-29 13:08
asiermartirena 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
 
RR19Q2 
jorge-garcia
No
0040420: Done, Layaway and Use Credit buttons should be disabled in some flows
The 'Done', 'Layaway' and 'Use Credit' buttons should be disabled during the 'Add Product' and the 'Add Payment' flows using the process controller ('addProduct' and 'addPayment' in process controller).

The 'Check mark' button and the 'Check mark' buttons for prepayments also should be disabled in this cases.
Load the Web POS and create a layaway.
Add a payment to the layaway -> Realize that the 'Layaway' button is not being disabled when the payment is being added.
No tags attached.
Issue History
2019-03-20 15:40asiermartirenaNew Issue
2019-03-20 15:40asiermartirenaAssigned To => Retail
2019-03-20 15:40asiermartirenaTriggers an Emergency Pack => No
2019-03-20 16:16asiermartirenaResolution time => 1570140000
2019-03-21 10:16ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-03-22 09:56ranjith_qualiantech_comStatusnew => scheduled
2019-03-25 07:46hgbotCheckin
2019-03-25 07:46hgbotNote Added: 0110609
2019-03-25 07:47hgbotStatusscheduled => resolved
2019-03-25 07:47hgbotResolutionopen => fixed
2019-03-25 07:48hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6fb01ebb126503b44fc2dc1ded2fb3806946dad6 [^]
2019-03-29 10:18jorge-garciaReview Assigned To => jorge-garcia
2019-03-29 13:08jorge-garciaNote Added: 0110927
2019-03-29 13:08jorge-garciaStatusresolved => closed
2019-03-29 13:08jorge-garciaFixed in Version => RR19Q2

Notes
(0110609)
hgbot   
2019-03-25 07:46   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 6fb01ebb126503b44fc2dc1ded2fb3806946dad6
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Mar 25 12:16:38 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6fb01ebb126503b44fc2dc1ded2fb3806946dad6 [^]

Fixed issue 40420 : Update processesToListen for Payment Tab process buttons

* Refactored ProcessController logic for disable/enable Payment Process button
  Due to implementation and code are similar for all Payment Process buttons, 4 functions(disableButton, enableButton, setDisabled, setDisabledIfSynchronized) is moved to ProcessButton
* Added 'addProduct' and 'addPayment' to processesToListen for Payment DONE, Credit and Layaway buttons
* Added ProcessController logic for Payment Exact, Prepayment Exact and Prepayment Delivery Button

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
(0110927)
jorge-garcia   
2019-03-29 13:08   
Code reviewed and tested