Openbravo Issue Tracking System - Retail Modules
View Issue Details
0024590Retail ModulesGift cards and gift voucherspublic2013-08-27 10:072013-09-17 17:52
sureshbabu 
adrianromero 
normalminoralways
closedfixed 
5
 
RMP27 
marvintm
No
0024590: RMP26: When a Layaway order is partially paid through Gift card and the order is voided, then the paid amount not getting return
When a Layaway order is partially paid through Gift card and the order is voided, then the paid amount through gift card not getting returned(voided)
Note: assume gift card current balance: 100

1) Create a Layaway order and pay partial amount through Gift card(10)
2) Navigate to ERP system and move to Gift card Instance window and chekc the current balance amount : 100-10 =90
2) Then from webpos, reopen the Layaway order
3) void the Layaway order by selecting the option, "Void This Layaway"
4) In the Right hand side one can find, "Total is Zero. No Payment Needed" label appears (amount paid through Gift card not voided.)
5) Then Click Done button
6) Then navigate to ERP system and move to Gift card Instance window and check the current balance amount :

Defect:
Expected Current Blance amount should be 90 +10 =100
But right now the current balance shows as 90.00

No tags attached.
png When a Layaway order is partially paid through Gift card and the order is voided, then the paid amount not getting returned.png (175,293) 2013-08-27 10:07
https://issues.openbravo.com/file_download.php?file_id=6343&type=bug
png
Issue History
2013-08-27 10:07sureshbabuNew Issue
2013-08-27 10:07sureshbabuAssigned To => guilleaer
2013-08-27 10:07sureshbabuFile Added: When a Layaway order is partially paid through Gift card and the order is voided, then the paid amount not getting returned.png
2013-08-27 10:07sureshbabuTriggers an Emergency Pack => No
2013-08-27 10:11guilleaerAssigned Toguilleaer => adrianromero
2013-08-27 10:30sureshbabuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=4967#r4967
2013-08-27 12:12sureshbabuDescription Updatedbug_revision_view_page.php?rev_id=4969#r4969
2013-08-27 12:12sureshbabuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=4970#r4970
2013-08-28 14:00adrianromeroNote Added: 0060802
2013-08-28 14:00adrianromeroStatusnew => scheduled
2013-08-28 14:00adrianromerofix_in_branch => pi
2013-08-28 14:00adrianromeroStatusscheduled => resolved
2013-08-28 14:00adrianromeroResolutionopen => fixed
2013-08-28 14:00adrianromeroNote Edited: 0060802bug_revision_view_page.php?bugnote_id=0060802#r4978
2013-08-28 16:05adrianromeroNote Added: 0060806
2013-08-30 13:22hgbotCheckin
2013-08-30 13:22hgbotNote Added: 0060836
2013-09-10 09:54hgbotCheckin
2013-09-10 09:54hgbotNote Added: 0060995
2013-09-17 17:52marvintmReview Assigned To => marvintm
2013-09-17 17:52marvintmStatusresolved => closed
2013-09-17 17:52marvintmFixed in Version => RMP27

Notes
(0060802)
adrianromero   
2013-08-28 14:00   
Fixed in changeset : https://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/18d70616a0cf [^]

(0060806)
adrianromero   
2013-08-28 16:05   
With the fix in giftcards. Now the amount paid with a gift card will be returned to the giftcard when voiding a layaway,

Take into account that because giftcards payments are not really a "payment" the same way as "cash" or "voucher". A voided layaway partially paid only with a gift card will say exactly the same "Total is Zero. No Payment Needed", but now the gift card will be restored with the credit paid.
(0060836)
hgbot   
2013-08-30 13:22   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: ae3abba745472938600c596a5d84faa8c7045198
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Aug 29 12:52:56 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ae3abba745472938600c596a5d84faa8c7045198 [^]

Adding server side hook for processing layaways. Issue 24590.

---
M src/org/openbravo/retail/posterminal/ProcessVoidLayaway.java
A src/org/openbravo/retail/posterminal/VoidLayawayHook.java
---
(0060995)
hgbot   
2013-09-10 09:54   
Repository: erp/pmods/org.openbravo.retail.posterminal-levelpricing
Changeset: ae3abba745472938600c596a5d84faa8c7045198
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Aug 29 12:52:56 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-levelpricing/rev/ae3abba745472938600c596a5d84faa8c7045198 [^]

Adding server side hook for processing layaways. Issue 24590.

---
M src/org/openbravo/retail/posterminal/ProcessVoidLayaway.java
A src/org/openbravo/retail/posterminal/VoidLayawayHook.java
---