Notes |
|
|
Return order button should be disabled when:
Order has payments
Payment flow is active
In returns payments are shown as positive so this is not a defect |
|
|
(0128642)
|
dbaz
|
2021-05-26 10:33
|
|
There are several ways from moving to a positive order to a negative one and the other way around (pressing "Return Order" button, change "Qty" of existing lines, pressing "Return Line" is lines, deleting lines and adding new ones, ...), and in both cases (from positive to negative and from negative to positive) the same thing happens.
Blocking all of them it is practically the same than blocking editing the receipt once a payment have been added.
Proposed solution:
If the receipt has a negative total:
* The "Pay" button label switches into "Refund".
* The "Payments" header label of the payments screen switches into "Refunds".
* The "Remaining to return" label is wrong ("Orders" are returned. "Money" is refunded). It should be "Remaining to refund".
If the receipt was with negative amount (refund mode) and it switches to positive amount (payment mode) or the other way around, all the quantities already introduced will change the sign. For example:
Total: -10.00 €
Button label "Refund"
Refunds:
Cash 3.00 €
(Remaining to refund 7.00 €)
user changes the quantity of the receipt lines to positive
Total: 10.00 €
Button label "Pay"
Payments:
Cash -3.00 €
(Remaining to pay 13.00 €) |
|
|
|
Check current behavior -> is regression?
Decide which is the expected behavior |
|
|
(0129518)
|
mtaal
|
2021-06-15 15:24
|
|
Some label changes of button and payment window will happen as part of the work for 46701 (see related issue) |
|
|
|
In the Order header the Type of order is displayed.
Also, this is being improved in the solution for the issue 46701 |
|