Openbravo Issue Tracking System - Retail Modules
View Issue Details
0055554Retail ModulesGift cards and gift voucherspublic2024-05-22 17:132024-05-29 09:32
remibrunet 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
 
RR24Q3 
guillermogil
No
0055554: When using another currency gift card, the original currency isn't taking in account
Having two store with different currency, we want to be able to use gift cards on both store
for the example, we'll define 1 EUR= 1000 XPF

On the store XPF , i'm doing a gift card of 1000 XPF
On the store EUR, i'm trying to use that gift card, i can pay up to 1000 EUR with it (normally only 1€)

The gift card is usable, but the amount isn't good.

Works the same in the other way
Configure a store in another currency
Configure a price list, tax, etc... for that country / currency.
Configure Gift Card payment method
Configure a Conversion rate

On a store XPF, sell a gift card
On a store EUR, use that gift card.
No tags attached.
png ResultExplanation.png (85,504) 2024-05-22 17:13
https://issues.openbravo.com/file_download.php?file_id=19808&type=bug
png
Issue History
2024-05-22 17:13remibrunetNew Issue
2024-05-22 17:13remibrunetAssigned To => Retail
2024-05-22 17:13remibrunetFile Added: ResultExplanation.png
2024-05-22 17:13remibrunetTriggers an Emergency Pack => No
2024-05-23 10:03ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2024-05-27 06:19ranjith_qualiantech_comStatusnew => scheduled
2024-05-29 09:32hgbotResolutionopen => fixed
2024-05-29 09:32hgbotStatusscheduled => resolved
2024-05-29 09:32hgbotNote Added: 0165249
2024-05-29 09:32guillermogilReview Assigned To => guillermogil
2024-05-29 09:32guillermogilStatusresolved => closed
2024-05-29 09:32guillermogilFixed in Version => RR24Q3

Notes
(0165249)
hgbot   
2024-05-29 09:32   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: d380cdfcb809a3e18cc6fcf2eac7c00fc72dd23e
Author: Ranjith S R <ranjith.rangaraju.ext@openbravo.com>
Date: 29-05-2024 07:32:04
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/d380cdfcb809a3e18cc6fcf2eac7c00fc72dd23e [^]

Fixed ISSUE-55554: Added currency conversions when consuming gift card/certificate

---
M src/org/openbravo/retail/giftcards/ConsumeGiftCardAmount.java
M web-jspack/org.openbravo.retail.giftcards/src/components/PaymentIntegration/GCNVPaymentProvider.js
M web-jspack/org.openbravo.retail.giftcards/src/components/PaymentIntegration/__test__/GCNVPaymentProvider.test.js
---