Unit price with 3 decimal places
  • preciousmpreciousm January 24

    Hi guys.
    I need to display only unit price with 3 decimal places. I notice if u change config local.precision it appears with 3 decimal places but affects my gross and total as well. If i change my sql to 25.2 still displays 3. Is there any way i can make changes to unit price only and leave the rest as is? Please Help.

  • modirmodir January 24

    Do you only want to have it differently in the print out/PDF or also when you enter the value into the application?

  • preciousmpreciousm January 25

    PDF and print preview, cause i sometimes print direct from the browser. Thanks for the response.

  • modirmodir January 26

    In this case you can edit the invoice template. It is located under templates/invoices/default

    In order to not lose all the changes after an update I recommend you to copy the folder default and create a new one in the invoices folder. You can then change the templates in what ever way you wish.

    Here is the documentation about Smarty: http://www.smarty.net/docs/en/

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

Categories

Tagged