Openbravo Issue Tracking System - Retail Modules
View Issue Details
0029931Retail ModulesWeb POSpublic2015-05-19 12:182015-05-29 16:33
adrianromero 
adrianromero 
normalmajorhave not tried
closedfixed 
5
 
RR15Q3 
marvintm
No
0029931: The exact amount to pay should be read from a receipt field
When the user taps on the "Exact" payment button. The amount to pay might not be the total of the receipt because of other discounts that depends on the payment method.

So the amount to pay when the "Exact" button is tapped should be read first from properties in the receipt model assigned when precalculating discounts or other business logic that modifies the amount to pay based on the payment method selected.

This functionality is required by the functionality of discounts by payment method to show the discount applied if the configured payment method is selected.
n/a
No tags attached.
Issue History
2015-05-19 12:18adrianromeroNew Issue
2015-05-19 12:18adrianromeroAssigned To => adrianromero
2015-05-19 12:18adrianromeroTriggers an Emergency Pack => No
2015-05-19 13:39hgbotCheckin
2015-05-19 13:39hgbotNote Added: 0077576
2015-05-19 13:39hgbotStatusnew => resolved
2015-05-19 13:39hgbotResolutionopen => fixed
2015-05-19 13:39hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/67b6c45d1086c9c058aafea85a3d369ac89319d7 [^]
2015-05-29 16:33marvintmReview Assigned To => marvintm
2015-05-29 16:33marvintmStatusresolved => closed
2015-05-29 16:33marvintmFixed in Version => RR15Q3

Notes
(0077576)
hgbot   
2015-05-19 13:39   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 67b6c45d1086c9c058aafea85a3d369ac89319d7
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Tue May 19 13:38:53 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/67b6c45d1086c9c058aafea85a3d369ac89319d7 [^]

Fixes issue 0029931: The exact amount to pay should be read from a receipt field
* If 'exactpayment' object exists in receipt model, the total amount is taken from here instead of the remaining amount

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/keyboard-toolbars.js
---