FiRaRi Posted May 3, 2015 Report Share Posted May 3, 2015 Hello, i want to change tax rate. and i do it. But tax is 18.0000% for example attach file when i buy new package. I try replace tax rule on admin panel but anythink not change. My country tax %18 , i want to delete 0000 after then %18. Can i do ? Quote Link to comment Share on other sites More sharing options...
0 Tyson Posted May 4, 2015 Report Share Posted May 4, 2015 The tax rate isn't formatted much on the order form, and is always shown out to 4 decimal places. In the future, we will likely update this to show only the significant digits. However, changing this yourself would require you to update the template files where the tax rate is displayed. For example, the tax rate on the AJAX order template could be changed by updating /plugins/order/views/templates/ajax/summary.pdt in your Blesta installation by finding: <td><?php $this->_("Summary.index.totals.tax", false, $tax['name'], $tax['percentage']);?></td> and updating it to <td><?php $this->_("Summary.index.totals.tax", false, $tax['name'], $tax['percentage'] + 0);?></td> Michael 1 Quote Link to comment Share on other sites More sharing options...
0 FiRaRi Posted May 5, 2015 Author Report Share Posted May 5, 2015 First, thank you for interest, i change summary.pdf with you also. But nothing happened, again same. You can look attachment Quote Link to comment Share on other sites More sharing options...
0 Tyson Posted May 5, 2015 Report Share Posted May 5, 2015 The change I suggested is relevant to your first screenshot. There are several other places in order plugin where the tax percent may still show to four decimals. Quote Link to comment Share on other sites More sharing options...
Question
FiRaRi
Hello, i want to change tax rate. and i do it. But tax is 18.0000% for example attach file when i buy new package. I try replace tax rule on admin panel but anythink not change.
My country tax %18 , i want to delete 0000 after then %18. Can i do ?
Link to comment
Share on other sites
3 answers to this question
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.