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

Partial Fix: Correctly display the discount percentage on Invoice Creation and discount fix on items #620

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

Conversation

Champetaman
Copy link
Contributor

This pull request addresses the issue of displaying the correct percentage charachter at the creation of an invoice. Additionally, addreses a partial bug refered on the issue #556 where the Discount is not being properly applied on the invoices.

Changes:

  • suffix: Now displays the percentage character properly on invoice creation
  • discountedTotal: Calculates the total discounted amount and formats the Number for every item on invoice.

Before:
image

image

After:
image

image

Was not able to fix the invoice ISaleInvoice assign in order to retrieve the discounts and properly dispay them on the frontend. Also, I'm not sure if there's another twerks to be made in order to completely fix the bug.

Keep up with the good work!

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.

1 participant