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

fix: improving UX for additional discount field #26495

Conversation

AfshanKhan
Copy link
Contributor

Previously as you can see in the gif below
Adding "Additional Discounts" changes the "Totals" but when you click on the field again the placeholder says "Enter the Discount Percentage" and the totals stays same as with the discount applied. This confuses user.
1

Now as you can see in the gif below
Clicking again will show the applied discount in place of "Placeholder" if any discount was applied. And user can now change the value to new discount if user wish to do so.
2

@AfshanKhan AfshanKhan force-pushed the fix-pos-additional-discount-displaying branch from 86bf137 to 5cdad07 Compare July 14, 2021 13:35
@coveralls
Copy link

coveralls commented Jul 14, 2021

Coverage Status

Coverage increased (+0.003%) to 42.912% when pulling 00087ed on AfshanKhan:fix-pos-additional-discount-displaying into 0394c86 on frappe:develop.

@nextchamp-saqib nextchamp-saqib merged commit c66277e into frappe:develop Jul 15, 2021
asoral pushed a commit to asoral/erpnext that referenced this pull request Nov 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants