Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0057527 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [POS2] POS | minor | always | 2024-12-20 19:31 | 2024-12-20 19:32 | |||||||
Reporter | Daria_Sh | View Status | public | |||||||||
Assigned To | Retail | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0057527: The generated OTF Coupon is recorded with 'Infinite' uses, despite being configured as 'N Uses' | |||||||||||
Description | When 'Percentage' is selected as the amount rule, the 'Number of Uses' is set to 'N Uses' and 'Breakable' flag is enabled, the generated OTF Coupon is recorded in the back office with 'Infinite' number of uses In the Backoffice: 1. Go to 'Discounts and Promotions' window 2. Create a new discount with 'Variable Amount Coupons' promotion type 3. Fulfill the required fields 4. Tick 'Uses coupon codes' and 'Is OTF Coupon' flags 5. Activate the Promotion/Discount by clicking 'Activate the selected records' 6. Go to 'OTF Coupons Generation Rules' window 7. Create new Rule → Fulfill the following fields: - Applicant, Search Key, Description and Starting Date - Issuance Time: At Paid Time - Promotion/Discount: the one created above - Amount Rule: Percentage - Discount % - Number of Uses: N Uses - Number of Uses Limit - Active: ✔ - Breakable 8. Proceed to 'Print' tab → Fulfill the required fields 9. Launch the HW manager | |||||||||||
Steps To Reproduce | 1. Login to POS (livebuilds:vallblanca/openbravo) 2. Add product to the Order 3. Complete the Order (Click 'Pay', select 'Cash' and click 'Done') 4. Log in to Backoffice 5. Go to 'Discount Coupons' window 6. Verify the generated Coupon Actual Result: The generated OTF Coupon is recorded with 'Infinite' uses, while being configured as 'N Uses' | |||||||||||
Proposed Solution | A possible solution could be to implement logic that hides the 'Number of Uses' field based on whether the coupon is marked as breakable or not | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | Screenshot_72.png [^] (86,380 bytes) 2024-12-20 19:31
Screenshot_71.png [^] (70,567 bytes) 2024-12-20 19:32 | |||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Issue History | |||
Date Modified | Username | Field | Change |
2024-12-20 19:31 | Daria_Sh | New Issue | |
2024-12-20 19:31 | Daria_Sh | Assigned To | => Retail |
2024-12-20 19:31 | Daria_Sh | File Added: Screenshot_72.png | |
2024-12-20 19:31 | Daria_Sh | Triggers an Emergency Pack | => No |
2024-12-20 19:32 | Daria_Sh | File Added: Screenshot_71.png | |
2024-12-20 19:32 | Daria_Sh | Proposed Solution updated |
Copyright © 2000 - 2009 MantisBT Group |