Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0041488
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Gift cards and gift vouchersmajoralways2019-07-31 07:522019-08-16 07:46
ReportermigueldejuanaView Statuspublic 
Assigned Tomigueldejuana 
PrioritynormalResolutionfixedFixed in VersionRR19Q4
StatusclosedFix in branchFixed in SCM revision9bcaf29c4197
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0041488: Remove a GiftCard payment when it is not in backend

DescriptionNow, when adding a Gift Card/Gift Certificate/Credit Note payment, if we do not get answer from backend, we assume that it is consumed. In case it is not consumed we will consume when processing the order.
If we try to remove it and it is not processed in the backend we get an error, in that case, assume that it is not processed yet and just remove it.
Steps To Reproduce- Add a product
- Open gift card amount payment popup and select one without applying it
- Go offline
- Add a Gift Card Certificate payment (Apply)
- The consume is not done yet
- Remove added payment
- ERROR! We cannot remove it because it doen't find the trans Id
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0113721)
hgbot (developer)
2019-07-31 07:55

Repository: erp/pmods/org.openbravo.retail.giftcards
Changeset: 9bcaf29c4197b918ad4548c47b9463e3f809a8b9
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Wed Jul 31 07:54:50 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/9bcaf29c4197b918ad4548c47b9463e3f809a8b9 [^]

Fixed issue 0041488: Remove a GiftCard payment when it is not in backend

- If trans Id doesn't exists, do not respond error, send success with a flag giftCardTransactionNotExists

---
M src/org/openbravo/retail/giftcards/RevertGiftCardAmount.java
M web/org.openbravo.retail.giftcards/js/hooks/preremovepaymenthook.js
---

- Issue History
Date Modified Username Field Change
2019-07-31 07:52 migueldejuana New Issue
2019-07-31 07:52 migueldejuana Assigned To => migueldejuana
2019-07-31 07:52 migueldejuana Triggers an Emergency Pack => No
2019-07-31 07:55 hgbot Checkin
2019-07-31 07:55 hgbot Note Added: 0113721
2019-07-31 07:55 hgbot Status new => resolved
2019-07-31 07:55 hgbot Resolution open => fixed
2019-07-31 07:55 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/9bcaf29c4197b918ad4548c47b9463e3f809a8b9 [^]
2019-08-16 07:46 marvintm Review Assigned To => marvintm
2019-08-16 07:46 marvintm Status resolved => closed
2019-08-16 07:46 marvintm Fixed in Version => RR19Q4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker