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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051882
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Gift cards and gift vouchersmajoralways2023-03-16 12:092023-03-31 06:36
ReporterngarciaView Statuspublic 
Assigned Toradhakrishnan 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix 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

0051882: Wrong expiration date printed in a Credit Note partially used

DescriptionWrong expiration date printed in a Credit Note partially used.

Debugging the process I had:

dialog.args.giftcard.obgcneExpirationdate
'2023-03-23'

creditNote.expirationDate
'23-03-2023'

and it returns:

OB.I18N.parseServerDate(creditNote.expirationDate)
Mon Mar 20 2023 00:00:00 GMT+0100 (Central European Standard Time)
Steps To Reproducehttps://livebuilds.openbravo.com/retail_modules_pgsql_pi/web/org.openbravo.retail.posterminal/?terminal=VBSSB1 [^]

Configure and start the HWM

In the backoffice:
Set the Credit Note Expiration Days to 7 in Vall Blanca Store organization

In the POS:
Create a ticket and pay it by cash
Click on Verified Returns
Return it and pay it by Credit Note
Check in the printer that the Expiration Date is today+7 (in my case 2023-03-23)

Add a product with a price lower than the credit note amount
Pay it with Credit Note
Select the previously created credit note
Check in the printer that the Expiration Date does not match the expiration of the credit note in the backoffice (in my case it shows 2023-03-20)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0045128 closedranjith_qualiantech_com Expiration date of the giftcard not calculated in the POS 
related to defect 0047059RR20Q3.4 closedrqueralta When you paid with credit note the expiration date is wrong (recalculated). 
related to defect 0052131 closedradhakrishnan Wrong expiration date format printed in a credit note if Credit Note expiration days is different from 0 

-  Notes
(0148005)
hgbot (developer)
2023-03-28 07:13

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/201 [^]
(0148135)
hgbot (developer)
2023-03-31 06:36

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: 0328f94be8f390d24ec020aeef4198ff89264bfa
Author: Radhakrishnan Seeman <radhakrishnan@qualiantech.com>
Date: 31-03-2023 04:35:28
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/0328f94be8f390d24ec020aeef4198ff89264bfa [^]

Fixed ISSUE-51882: Expiration date of credit note should not be format when printing
* Expiration date of credit note already formatted while adding payment, so no
  need to format it again while printing credit note

---
M web/org.openbravo.retail.giftcards/js/hooks/printGiftCardPrePrintHook.js
---
(0148136)
hgbot (developer)
2023-03-31 06:36

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/201 [^]

- Issue History
Date Modified Username Field Change
2023-03-16 12:09 ngarcia New Issue
2023-03-16 12:09 ngarcia Assigned To => Retail
2023-03-16 12:09 ngarcia Triggers an Emergency Pack => No
2023-03-16 12:09 ngarcia Issue Monitored: networkb
2023-03-16 12:09 ngarcia Issue End Monitor: networkb
2023-03-16 12:24 ngarcia Relationship added related to 0047059
2023-03-17 12:22 radhakrishnan Assigned To Retail => radhakrishnan
2023-03-17 12:22 radhakrishnan Status new => scheduled
2023-03-24 10:33 ngarcia Relationship added related to 0045128
2023-03-28 07:13 hgbot Note Added: 0148005
2023-03-31 06:36 hgbot Resolution open => fixed
2023-03-31 06:36 hgbot Status scheduled => closed
2023-03-31 06:36 hgbot Note Added: 0148135
2023-03-31 06:36 hgbot Note Added: 0148136
2023-04-17 13:33 ngarcia Relationship added related to 0052131


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker