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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053238
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSminorhave not tried2023-08-18 11:462023-10-05 15:35
ReporterDaria_ShView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionopenFixed in Version
StatusscheduledFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0053238: Restoring Balance Transaction is positive when Order is paid and returned using the same Gift Certificate

DescriptionI created a Gift Certificate and paid for the Order with this Certificate. Then I opened the created Order from the 'Orders' list, clicked 'Verified Returns', and specified the Card Id of used 'Gift Certificate' as payment method.
I noticed that Restoring Balance Transaction is positive (14.50), but should be negative (-14.50) in the 'Gift Card Transaction' tab of Backoffice

The same happens if pay Order by Gift Card and return it using the same Gift Card

Create a Gift Certificate:
1.Log in to POS2:
-username: vallblanca
-password: openbravo
2.Go to Main menu -> Restaurant -> Gift Cards / Credit Notes / Gift Certificates
3.Click the 'Create Gift Certificate' button
4.Enter the following values:
- Gift Card Category: Commercial
- Expiration Date: A date in the future
- Amount: 50
Push 'Create' button
Go to Backoffice (username and password - openbravo) -> 'Gift Card Instance' window -> Write down the 'Search Key' of the created Certificate (will be used in POS as Card ID)
Steps To Reproduce1.Go to POS2
2.Add the 'Camel bak 3L' product to the Order -> Click the 'Pay' button
3.Select the 'Gift Cards/Certificates' payment method -> Specify the Gift Certificate Card ID
4.Click the 'Search' button -> Pick the shown 'Gift Certificate'-> Pick the 'Done' button
5.Go to 'Orders' -> Open created Order -> Click on 3 dots next to the 'Total 35.50 €'-> Click the 'Verified Returns' button
6.Select the lines to be returned in the 'Add Verified Return' popup -> Click 'Apply'
7.Press 'Refund' button -> Select 'Gift Cards/Certificates' payment method -> Specify the Card ID of used Gift Certificate -> Click on it
8.Before completing the Order, go to Backoffice -> 'Gift Card Instance' window -> Select the used Gift Certificate
9.Pay attention to the line with Amount = 14.50 in the 'Gift Card Transaction' tab

Actual result: Restoring Balance Transaction is positive (14.50)
Expected result: Restoring Balance Transaction is negative (-14.50)
TagsNo tags attached.
Attached Filesjpg file icon restoring balance transaction.jpg [^] (140,737 bytes) 2023-08-23 13:20

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0155580)
hgbot (developer)
2023-10-05 15:35

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/268 [^]

- Issue History
Date Modified Username Field Change
2023-08-18 11:46 Daria_Sh New Issue
2023-08-18 11:46 Daria_Sh Assigned To => Retail
2023-08-18 11:46 Daria_Sh File Added: restoring balance transaction.jpg
2023-08-18 11:46 Daria_Sh Triggers an Emergency Pack => No
2023-08-23 11:48 Daria_Sh Summary Restoring Balance Transaction is positive when Order is paid by Gift Certificate and is in Return => Restoring Balance Transaction is positive when Order is paid and returned using the same Gift Certificate
2023-08-23 13:19 Daria_Sh File Deleted: restoring balance transaction.jpg
2023-08-23 13:20 Daria_Sh File Added: restoring balance transaction.jpg
2023-08-23 13:26 Daria_Sh Description Updated View Revisions
2023-09-12 09:57 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2023-10-03 12:55 ranjith_qualiantech_com Status new => scheduled
2023-10-05 15:35 hgbot Note Added: 0155580


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker