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
Tyson Posted December 12, 2019 Report Posted December 12, 2019 Thanks, this will be fixed in v4.8.0 for CORE-3357.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now