Jump to content

Incorrect Total On Invoice


L3Y

Recommended Posts

Hi,

 

Seems like sometimes, 1+1=4 for Blesta  :P

 

 Here is what i got on an automated invoice : 

 
Sub Total:                $39.00CAD CAD
TPS (5.0000%)         $1.95CAD CAD
TVQ (9.9700%)       $3.89CAD CAD
                              
Total :                   $45.00CAD CAD
 
(please see attachment to confirm via a screenshot).
 
Why does Blesta think 39$+ 1.95$ + 3.89$ = 45$??  
 
**Past invoices, before the version 3.5.1 (i.e. 3.5.0 and below) were fine.  The total was  $44.84CAD  (Please note if Canadian taxes were cascading before (tvq was level 2), this is no longer a requirement)
 
Thank you for any help on this  :blesta:
 
Carl

post-10622-0-36337000-1438638449_thumb.p

post-10622-0-00866200-1438638572_thumb.p

post-10622-0-34050500-1438638639_thumb.p

Link to comment
Share on other sites

Have you enabled something that automatically rounds prices? The price subtotals 44.84, so that could possibly be the problem. 

 

However, you could've also added promo codes or taxes to it that would cause it. I'm not 100%, you should wait for one of the staff or Licensecart to double check ;-)

Link to comment
Share on other sites

Hi,

 

I remember i saw an option somewhere to round up pricing.

 

However, i no longer remember where it was, and i do not think i changed this, cause it's not on my changelog. 

 

Possible for you to tell me where it is, so i can check?  :)

 

Thank you,

Carl

Link to comment
Share on other sites

Did you recently upgrade Blesta to v3.5.1 and forget to run the upgrade at /admin/upgrade/? Currency precision was added in v3.5.1, and your issue sounds like the amount precision is evaluating to zero decimal places because you have not run the upgrade script. Make sure you've run the upgrade and then head over to [settings] -> [Currencies] -> [Active Currencies] to set the currency precision. CAD is not included in Blesta, so it would default to 4.

Link to comment
Share on other sites

  • 1 month later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...