Jump to content

Prices round just before adding a new bo order!


fabiensen

Recommended Posts

Hi,

 

I am experiencing an issue with the back office orders.

 

All the math is exact (tax incl., tax excl., etc.) so I can add products, add discounts (I created an ad hoc field), change quantity, etc. and everything is working.

But, as soon as I click the finalize button, I got strange results.

 

For example, if I add a 8,90€ item, I have a tax excluded price at 7,293082. If I click finalize the tax excl. field just a moment before leaving the page and going to the finalized order page turns to be 7.3 and 8,90 turns consequently to 8,91 and all the invoices are not correct.

 

I had a look at all files possible, Order.php, Cart.php, SpecificPrice.php and admin controllers as well. But nothing... 

Obviously I have only price rounded at 6 for tax excluded or 2 for tax included and classical round. 

 

Does anybody know what is going on? I'm on PS 1.6.0.6

 

Thanks

Fabio

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...