Openbravo Issue Tracking System - Retail Modules
View Issue Details
0042210Retail ModulesGift cards and gift voucherspublic2019-10-23 10:202019-11-28 18:16
francisco 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR19Q4RR19Q4 
marvintm
Pre packaging ( pi )
2019-07-09
main
https://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/49203ce8c04adec93ad8d831f17f631c02c96415 [^]
No
0042210: Wrong Payment by Gift Card
While paying through Gift Card the payment entry is not correct.
Instead of the deducting the card balance, it is deducting the whole amount of the ticket.
The payment plan in the order is also empty.


The issue is happening in the version 19Q3, in the version 19Q2 it was working fine
Tested in etail_modules_pgsql_pi as Whitevalley Admin:

In BackOffice:
Create a gift card Test in product window with initial amount 100€
Add the gift card to the Assortment

In POS:
Buy the gift card
Buy a product wich amount is more than 100€
Pay with the gift card test

The giftcard is paying more than the 100€ that it has on it
No tags attached.
blocks defect 0042103 closed ranjith_qualiantech_com Wrong Payment by Gift Card 
Issue History
2019-11-06 15:21marvintmTypedefect => backport
2019-11-06 15:21marvintmTarget Version => RR19Q4
2019-11-28 18:15hgbotCheckin
2019-11-28 18:15hgbotNote Added: 0115960
2019-11-28 18:15marvintmStatusscheduled => resolved
2019-11-28 18:15marvintmResolutionopen => fixed
2019-11-28 18:16marvintmReview Assigned To => marvintm
2019-11-28 18:16marvintmStatusresolved => closed
2019-11-28 18:16marvintmFixed in Version => RR19Q4

Notes
(0115960)
hgbot   
2019-11-28 18:15   
Repository: erp/pmods/org.openbravo.retail.giftcards
Changeset: 55422adab44ebde4e6bf101d12a8df789d851540
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Nov 28 17:54:46 2019 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/55422adab44ebde4e6bf101d12a8df789d851540 [^]

Related to issue 42210 : Giftcard product standardPrice should be same as Current balance amount.

---
M web/org.openbravo.retail.giftcards/js/model/GiftCardUtils.js
---