Blesta Addons Posted December 12, 2019 Report Posted December 12, 2019 sometimes we get a wrong total in the invoice edition or addition, after some investigaion we found the fallowing issue. we have the currency format $1 234,56 with precision 2. let create a new invoice, with two lines : Description - Qty - Unit Costtest line 1 1 1test line 1 1 2,33 this return a total of 5,00$ USD. after enabling the error reporting we found the fallowing error A non well formed numeric value encountered on line 95 in /home/xxxxxxxxxxx/public_html/vendors/blesta/pricing/src/Type/UnitPrice.php the issue come from (2,33) when we put (2.33) we get the exact total $5,66 USD Quote
Tyson Posted December 12, 2019 Report Posted December 12, 2019 Thanks, this will be fixed in v4.8.0 for CORE-3357. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.