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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0054278
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSminorhave not tried2024-01-09 16:452024-06-17 08:49
ReporterDaria_ShView Statuspublic 
Assigned ToRajesh_18 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguillermogil
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0054278: 'NaN.00 €' is shown instead of '0.00' as Total in the 'Orders' list, if pay the Order using Gift Card or a Discount of 100%

DescriptionIn POS2, when creating a single-use Gift Card, selling it, and using it to pay an order with a total less than the Gift Card's initial balance, the 'Total' in the 'Orders' list is displayed as 'NaN.00 €', and the status is shown as 'Unpaid'.

The same happens when paying an order with a 100% discount.

Go to Backoffice (User:Openbravo/Password:openbravo)-> Product window
Create a new Product with the following values:
-Organization: Vall Blanca Store
-Search Key: GC/01
-Name: Gift Card
-UOM: Unit
-Tax Category: IVA Normale
-Product Category: Backpacks & Travel
-Purchase: ✔
-Sale: ✔
-Stocked: unselected
-Product Type: Item
-Active: ✔
-Returnable: ✔

POS Properties section:
-Grouped Product: unselected
-Show Characteristics Description: ✔
-Gift card Type: Gift Card
-Gift Card sale excluded of invoicing: unselected
-Gift Card redemption type: As negative line
-Taxable Gift Card: ✔
-Gift card initial amount: 50.00
-Expires After (days): blank
Allow Anonymous Sale: ✔
    
Navigate to the 'Price' tab
Add new record in the form with the following values:
-Price List Version: The White Valley Group Sale Price List Version
-Unit Price: 50.00
-List Price: 50.00

Go to the 'Assortment' window
Open the 'White Valley Group Product List'-> Go to the 'Product' tab
Add new record in the form with the following values:
-Active: ✔
-Product: Gift Card
-Product Category: Backpacks & Travel
-Bestseller: No
Steps To Reproduce1.Go to POS2 (VBS-3): user:vallblanca/password:openbravo
2.Specify the 'Gift Card' product to the Search line → Push 'Search' button
3.Specify '1' to the mandatory 'Identifier' field → Push 'Finish' button
4.Push 'Pay' button → Select 'Cash' payment method → 'Click 'Done'
5.Add 'Compass' product to the Order → Push 'Pay' → Select 'Gift Card' payment method
6.Specify '1' into the 'Card ID' field → Push 'Search' button
7.Push the displayed Gift Card (the Gift Card is added as a negative line to the Order)
8.Push 'Pay' button → Select 'Cash' payment method → Push 'Done'
9.Go to 'Orders' → Pay attention to the 'Total' value

Actual result:'NaN.00 €' is shown as Total of the Order in the 'Orders' list, if pay the Order using Gift Card
Expected result: '0.00' Order Total amount is shown in the Orders list
TagsNo tags attached.
Attached Filespng file icon Screenshot_33.png [^] (91,685 bytes) 2024-01-09 16:45

- Relationships Relation Graph ] Dependency Graph ]
duplicate of defect 0049787 closedRajesh_18 [22Q3] Paid ticket with 100% discount on products appears as unpaid in Order's list 
has duplicate defect 0055774 closedsreehari Unexpected 'NaN.00' total amount for zero amount sales in the orders menu 

-  Notes
(0165999)
guillermogil (developer)
2024-06-17 08:49

Fixed in https://issues.openbravo.com/view.php?id=49787 [^]

- Issue History
Date Modified Username Field Change
2024-01-09 16:45 Daria_Sh New Issue
2024-01-09 16:45 Daria_Sh Assigned To => Retail
2024-01-09 16:45 Daria_Sh File Added: Screenshot_33.png
2024-01-09 16:45 Daria_Sh Triggers an Emergency Pack => No
2024-01-09 16:47 Daria_Sh Summary 'NaN.00 €' is shown instead of Order Total in the 'Orders' list, if pay the Order using Gift Card => 'NaN.00 €' is shown instead of '0.00' as Total in the 'Orders' list, if pay the Order using Gift Card
2024-01-09 16:47 Daria_Sh Steps to Reproduce Updated View Revisions
2024-01-11 11:18 Rajesh_18 Assigned To Retail => Rajesh_18
2024-01-17 08:37 Rajesh_18 Relationship added duplicate of 0049787
2024-04-17 16:08 asier_perez Summary 'NaN.00 €' is shown instead of '0.00' as Total in the 'Orders' list, if pay the Order using Gift Card => 'NaN.00 €' is shown instead of '0.00' as Total in the 'Orders' list, if pay the Order using Gift Card or a Discount of 100%
2024-04-17 16:08 asier_perez Description Updated View Revisions
2024-06-17 07:27 sreehari Relationship added has duplicate 0055774
2024-06-17 08:49 guillermogil Review Assigned To => guillermogil
2024-06-17 08:49 guillermogil Note Added: 0165999
2024-06-17 08:49 guillermogil Status new => closed
2024-06-17 08:49 guillermogil Resolution open => duplicate
2024-06-17 08:49 Rajesh_18 Status closed => scheduled
2024-06-17 08:49 Rajesh_18 Status scheduled => resolved
2024-06-17 08:49 Rajesh_18 Resolution duplicate => fixed
2024-06-17 08:49 Rajesh_18 Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker