We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
While it might working adding 1 for some currencies, with EUR this makes inconsistencies.
1 should be removed and is not necessary - it calculates wrongly.
Imagine the following brackets/slabs:
0-100 10% 100-200 20%
Someone getting 200 income tax should be: 30.
However, this function calculates: 30.3
In EUR (and many other currencies) very often these slabs are defined on two decimal places.
hrms/hrms/payroll/doctype/salary_slip/salary_slip.py
Line 2091 in 9d8c78d
HR, Payroll
ERPNext: v15.14.4 (version-15)
Frappe Framework: v15.15.0 (version-15)
Frappe HR: v15.12.0 (version-15)
None
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Information about bug
While it might working adding 1 for some currencies, with EUR this makes inconsistencies.
1 should be removed and is not necessary - it calculates wrongly.
Imagine the following brackets/slabs:
0-100 10%
100-200 20%
Someone getting 200 income tax should be: 30.
However, this function calculates: 30.3
In EUR (and many other currencies) very often these slabs are defined on two decimal places.
hrms/hrms/payroll/doctype/salary_slip/salary_slip.py
Line 2091 in 9d8c78d
Module
HR, Payroll
Version
ERPNext: v15.14.4 (version-15)
Frappe Framework: v15.15.0 (version-15)
Frappe HR: v15.12.0 (version-15)
Installation method
None
Relevant log output / Stack trace / Full Error Message.
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: