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

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...