Openbravo Issue Tracking System - Retail Modules
View Issue Details
0024581Retail ModulesGift cards and gift voucherspublic2013-08-26 10:252013-08-27 10:58
sureshbabu 
guilleaer 
normalminoralways
closedfixed 
5
 
RMP26 
marvintm
No
0024581: RMP26; while using price list not inclusive of taxes, when i try to pay using gift card, Gross amount displayed as -0.01
while using price list not inclusive of taxes, when i try to pay using gift card, Gross amount displayed as -0.01
Note: a) Used price list not inclusive of taxes
b) Created a gift card using Tax Category: Exento

1) create a receipt with below details
Product: Alpine skiing backpack 27 qyt: 1 Price: 109.90
Product: Adhesive Body Warmers qty: 1 Price : 3.60
Total Tax: 23.84
Total Gross amount: 137.34

2) Then try to pay the above receipt using Gift card


Defect: After applying the gift car, one can see,
Total Tax: changes to 23.83 instead of 23.84

And because of this, Total Gross amount showing as -0.01

Also in the left hand side, "-0.01 remaining to Pay. 0.01 Overpaid" label appears


No tags attached.
png while using price list not inclusive of taxes, when i try to pay using gift card, Gross amount displayed as -0.01.png (210,204) 2013-08-26 10:25
https://issues.openbravo.com/file_download.php?file_id=6340&type=bug
png
Issue History
2013-08-26 10:25sureshbabuNew Issue
2013-08-26 10:25sureshbabuAssigned To => guilleaer
2013-08-26 10:25sureshbabuFile Added: while using price list not inclusive of taxes, when i try to pay using gift card, Gross amount displayed as -0.01.png
2013-08-26 10:25sureshbabuTriggers an Emergency Pack => No
2013-08-26 16:25hgbotCheckin
2013-08-26 16:25hgbotNote Added: 0060771
2013-08-26 16:25hgbotStatusnew => resolved
2013-08-26 16:25hgbotResolutionopen => fixed
2013-08-26 16:25hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f3dfba8407b5cc50476d5158e16ee792ccdca3d1 [^]
2013-08-26 16:25hgbotCheckin
2013-08-26 16:25hgbotNote Added: 0060772
2013-08-27 10:58marvintmReview Assigned To => marvintm
2013-08-27 10:58marvintmStatusresolved => closed
2013-08-27 10:58marvintmFixed in Version => RMP26

Notes
(0060771)
hgbot   
2013-08-26 16:25   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: f3dfba8407b5cc50476d5158e16ee792ccdca3d1
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Mon Aug 26 12:37:39 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f3dfba8407b5cc50476d5158e16ee792ccdca3d1 [^]

fixed issue 24581: Total gross is calculated based on rounded prices

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0060772)
hgbot   
2013-08-26 16:25   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 543daee6ce370f925b8bdcd4a5b20a1136060045
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Mon Aug 26 16:17:10 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/543daee6ce370f925b8bdcd4a5b20a1136060045 [^]

related to issue 24581: [precision] some changes have been done in precision engine. Taxes are calculated based on rounded quantities

---
M web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js
---