oklok Posted December 29, 2022 Share Posted December 29, 2022 (edited) Currently have 0 decimal on front office which is perfect (correct behaviour, example 289,20=shows 289 in front office), however the invoice follows the same behaviour. According to local law invoice must have exact decimals. Any tips how to make this change? CURRENT SETTING: My setting localization->currencies->Decimal= 0 Round mode= Round away from zero, when it is half way there Round type= Round on each item Result this: Total cost 289-->289,00Unit Price (Tax excl.) 231-->231,20Total(Tax excl.) 232 --> 231,20Total Tax 57 kr -->57,80Total 289--> 289,00 krTax rate 25,000= 25,00% THANKS! V1.7.7.5 ☺️ Edited March 26, 2023 by oklok (see edit history) Link to comment Share on other sites More sharing options...
s4lvozesta Posted January 24, 2023 Share Posted January 24, 2023 Try here to start? classes/pdf/HTMLTemplateInvoice.php getContent() For example, the variable `$footer` will be read by pdf/invoice.total-tab.tpl using `displayPrice` Link to comment Share on other sites More sharing options...
oklok Posted March 25, 2023 Author Share Posted March 25, 2023 Thanks for the latest. Still not solved, time to solve this, anyone can recommend a fix or a nice module for this? 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