Problems with rounding and payments Issue

0
With the previous Invoice manager if I put 61.48 € and added 22% the total was going to be 75€. Now the total is 75.01 with Invoice Manager.

Not sure who is right, however I don't care much about that.

I solved it by putting as a net 61.479 € to have 75€, however, as you can see from the animated gif I created, once I create a payment of 75€, the invoice is marked as Partially Paid.

Why?

Accepted Answer

Friday, February 10 2017, 08:38 AM - #Permalink
0
I just made a modification on file /components/com_invoices/helpers/helpers.php

in any case this will be added in our next release, so no need to worry about updates.
The reply is currently minimized Show
Responses (10)
  • Accepted Answer

    Wednesday, February 01 2017, 10:49 AM - #Permalink
    0
    hello

    hmm.... I see. I think I know why is that and how to solve it.

    could you send me joomla/ftp access?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, February 03 2017, 11:17 AM - #Permalink
    0
    Yes, I will send them to you, thanks.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, February 06 2017, 09:20 AM - #Permalink
    0
    Hello, did you receive my data? thanks.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, February 06 2017, 11:02 AM - #Permalink
    0
    yes

    I changed the computed status calculation with rounding decimals.. please check again

    however a quick observation: if you add 22% to 61,48, the result is 75,0056

    This means that, rounded to 2 decimals, it's going to be 75,01...

    I mean, this is the CORRECT calculation... do you know what I mean?
    The reply is currently minimized Show
  • Accepted Answer

    Monday, February 06 2017, 02:52 PM - #Permalink
    0
    Ok, can you please tell me how you "changed the computed status calculation with rounding decimals" ? thanks.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, February 06 2017, 04:57 PM - #Permalink
    0
    I made it so the calculation will be done with rounded decimals, not the full number of decimals, to avoid possible mismatches
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, February 09 2017, 07:33 AM - #Permalink
    0
    Ok, but what did you do exactly? I need to know in case you have created some custom coding so the next time there is a release I will know what to do. Thanks.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, August 18 2017, 10:15 AM - #Permalink
    0
    Germinal Camps wrote:

    I just made a modification on file /components/com_invoices/helpers/helpers.php

    in any case this will be added in our next release, so no need to worry about updates.


    I have the same problem (version 2.1.2). Where can I get this fix?

    Thanx.
    • Germinal Camps
      more than a month ago
      hello,

      which specific problem are you having? can you show me an example?
      thanks!
    The reply is currently minimized Show
  • Accepted Answer

    Monday, August 21 2017, 09:25 AM - #Permalink
    0
    Yes, we've tested with an amount of 24,90 EUR which is transferred from DJ-Classifieds (payment for subscription) to Invoice Manager.

    But the generated invoice is over 24,89 EUR total (s. Screenshot).
    Attachments:
    The reply is currently minimized Show
  • Accepted Answer

    Monday, August 21 2017, 10:37 AM - #Permalink
    0
    Hello

    The integration with DJ classifieds is not made by us, this is from another developer.. you should ask them because the problem must come from their plugin
    The reply is currently minimized Show
Your Reply