pawciak Posted July 4, 2013 Share Posted July 4, 2013 Hey Guys, im just curious - is there any way/hack of displaying taxes as a number without comma/dot? The problem is following: when I am generating PDF invoice tax is being shown as: 23.000% What i need to do to show is as 23%? I dont see such option Link to comment Share on other sites More sharing options...
vekia Posted July 4, 2013 Share Posted July 4, 2013 you've got this only on invoice? Link to comment Share on other sites More sharing options...
pawciak Posted July 4, 2013 Author Share Posted July 4, 2013 yes Link to comment Share on other sites More sharing options...
vekia Posted July 4, 2013 Share Posted July 4, 2013 okay so open the: pdf/invoice-tax-tab.tpl file you've got there: {$rate} change it to {$rate|string_format:"%d"} effect: 2 Link to comment Share on other sites More sharing options...
pawciak Posted July 4, 2013 Author Share Posted July 4, 2013 Brilliant! Vekia - thank You very much! End of Topic. Link to comment Share on other sites More sharing options...
vekia Posted July 4, 2013 Share Posted July 4, 2013 you're welcome im going to mark this thread as [solved] regards Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now