Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040596Retail ModulesWeb POSpublic2019-04-11 13:522019-04-25 10:38
asiermartirena 
asiermartirena 
normalmajoralways
closedfixed 
5
 
RR19Q3 
adrianromero
No
0040596: The prepayment under limit approval is done when opening the drawer
Configuring a payment method to open the drawer before closing the ticket, having the preference 'Web POS Close Drawer Before Continue' set to 'Y' and when synchronizing a ticket that needs an approval to pay under the limit, the approval is raised when opening the drawer (when the 'Done' button has the 'Open' text), not when clicking the 'Done' button itself. This allows to close the drawer, add new lines and synchronize the ticket without asking for any approval.
Configure as required.
Login into the terminal OMNI-1 and create a ticket with the payment configured to open the drawer and paying under the limit.
Click on the 'Open' button to open the drawer --> The approval is asked for.
Approve.
Add a new line.
Synchronize the ticket --> The approval is not raised.
The approval must be asked when clicking on the 'Done' button, not when has the 'Open' text
No tags attached.
Issue History
2019-04-11 13:52asiermartirenaNew Issue
2019-04-11 13:52asiermartirenaAssigned To => asiermartirena
2019-04-11 13:52asiermartirenaTriggers an Emergency Pack => No
2019-04-12 08:14hgbotCheckin
2019-04-12 08:14hgbotNote Added: 0111091
2019-04-12 08:14hgbotStatusnew => resolved
2019-04-12 08:14hgbotResolutionopen => fixed
2019-04-12 08:14hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/37b3967887b49d61eb15f66a28638bcf4eb900f0 [^]
2019-04-25 10:38adrianromeroReview Assigned To => adrianromero
2019-04-25 10:38adrianromeroNote Added: 0111303
2019-04-25 10:38adrianromeroStatusresolved => closed
2019-04-25 10:38adrianromeroFixed in Version => RR19Q3

Notes
(0111091)
hgbot   
2019-04-12 08:14   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 37b3967887b49d61eb15f66a28638bcf4eb900f0
Author: Asier Martirena <asier.martirena <at> openbravo.com>
Date: Thu Apr 11 16:01:10 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/37b3967887b49d61eb15f66a28638bcf4eb900f0 [^]

Fixed issue 40596: The prepayment under limit approval is done when opening the drawer

Moved the logic to ask for a prepayment under the limit approval after a point where is checked if the drawer must be opened or not.

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
(0111303)
adrianromero   
2019-04-25 10:38   
Verified.