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 (Invoicing Error) #3823

Closed

Conversation

lomamech
Copy link
Collaborator

-resolution of the problem when calling the Debtors.balance function with
rounding to two ranks after the decimal point of the total credit and
debit values

closes #3822

-resolution of the problem when calling the Debtors.balance function with
rounding to two ranks after the decimal point of the total credit and
debit values

closes Third-Culture-Software#3822
@kwilu kwilu added the size: XS label Jul 29, 2019
- Check before to arround pbalance.debit and pbalance.credit
@kwilu kwilu added size: S and removed size: XS labels Jul 29, 2019
// Arround pBalance.credit and pBalance.debit
if (pBalance.credit && pBalance.debit) {
pBalance.credit = util.roundDecimal(pBalance.credit, 2);
pBalance.debit = util.roundDecimal(pBalance.debit, 2);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trailing spaces not allowed no-trailing-spaces

@lomamech lomamech closed this Jul 30, 2019
@lomamech lomamech deleted the fixInvoingError branch July 30, 2019 14:00
@jniles jniles mentioned this pull request Jul 31, 2019
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.

Problem with the call of the function Debtors.balance
2 participants