Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041408Retail ModulesDiscounts and Promotionspublic2019-07-19 13:592019-07-19 13:59
inaki_garcia 
Retail 
normalminoralways
newopen 
5
main 
 
No
0041408: [19Q3] [UX] "Receipt discounts" menu option isn't hidden when discounts aren't applicable to the ticket
The newly introduced "UI Configuration" project manages the display logic of the items of the dropdown menu of the POS, such as when the "Receipt discount" option has to be shown or hidden depending on whether said feature can be used or not. This already works for the basic scenario of not having any items on the ticket, but it could also be applied for the case in which all of the lines in the ticket are negative or to be returned.

Although there are checks in place that prevent discounts from being applied to return tickets or tickets with all lines in negative in general, it would be nice to hide the option altogether for this specific case to narrow down the workflow cases.
PRECONDITION: the "Discount and Promotions" module has to be installed

0. Log in the Web POS as "vallblanca"
1. Create a ticket with some negative lines
2. Click on the "Receipt discounts" menu item
3. Select a discount, check the "Apply to all lines" option, and click on Apply
NOTICE that a message saying that discounts can't be applied to negative lines and that is confirmed functionally, which is a correct behaviour
4. Create a ticket by opening one from "Verified Returns" option, by adding some lines and clicking on the "Return this Receipt" option, or by making the lines added to the ticket negative
5. Repeat steps 2. and 3.
NOTICE that the "Apply" button can be clicked in spite of being inactive, which isn't correct, although no discount is applied.
No tags attached.
Issue History
2019-07-19 13:59inaki_garciaNew Issue
2019-07-19 13:59inaki_garciaAssigned To => Retail
2019-07-19 13:59inaki_garciaTriggers an Emergency Pack => No

There are no notes attached to this issue.