Jump to content

Question

Posted

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 ?

post-10694-0-30316500-1430655242_thumb.j

3 answers to this question

Recommended Posts

  • 0
Posted

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>
  • 0
Posted

First, thank you for interest,

 

i change summary.pdf with you also. But nothing happened, again same. You can look attachment

post-10694-0-29182000-1430842597_thumb.p

  • 0
Posted

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.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...