Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New - updated discount splitting function in Remx.php #29517

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from

Conversation

henrynopo
Copy link
Contributor

@henrynopo henrynopo commented Apr 28, 2024

NEW

The existing discount splitting function needs to manually input the two smaller amounts in main currency. When user changes one of the amounts, the other one is not auto calculated.

The proposed change allows key in only one amount, either in main currency or original currency and the discount will be split into two discounts accordingly.

The splitting icon will be shown besides the TTC amount in main currency and that in original currency, respectively to different the splitting in either main currency or original currency.

To allow input the first smaller amount, either in main currency or original currency.
@eldy eldy added PR to fix - Continuous Integration Test failed The PHP unit tests return something wrong with our code. Check the details to know what to fix. PR need screenshots A PR changing the GUI behavior must be accompanied by a screenshot labels Apr 29, 2024
@henrynopo
Copy link
Contributor Author

Relocate the split icon to besides the amounts (both main currency and original currency)
image

The split confirmation will pop up and user can input the first value he wants, the second value will be calculated automatically.
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR need screenshots A PR changing the GUI behavior must be accompanied by a screenshot PR to fix - Continuous Integration Test failed The PHP unit tests return something wrong with our code. Check the details to know what to fix.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants