Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > ISPConfig 3 Priority Support

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th October 2013, 02:50
Davide Davide is offline
Senior Member
 
Join Date: Jul 2006
Posts: 123
Thanks: 16
Thanked 9 Times in 8 Posts
Default Billing module invoice decimal possitions

I'm getting four decimals in invoices:

10,0001 €
32,1234 €

How can I get only two decimals?
Reply With Quote
Sponsored Links
  #2  
Old 8th October 2013, 09:23
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,177
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
 
Default

The decimal format in the frontend is 4 decimals, the format in invoices is 2 decimals by default. Both formats are defined in the ispconfig language files.

If you use a custom pdf invoice template, then it might be that it needs to be updated to use the 2 digit dezimal format for the pdf file like it is used in the templates that are delivered with the current billing module version 1.3

If you like to change one of the decimal formats, go to System > Languages, select your languge and click on the global file (e.g. en.lng).

number_format_decimals is the one that is used in the ISPConfig interface and number_format_decimals_client is used in the pdf invoices and in the client dashboard plugins.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Freeradius and Mysql uvstudios HOWTO-Related Questions 4 19th February 2014 12:11
ISPConfig 3.05 RC1 & Billing Module (Debian Squeeze) agentmoller001 Installation/Configuration 2 30th December 2012 23:54
Proftpd + MySQL virtual users, can't connect geekman HOWTO-Related Questions 28 27th September 2010 18:03
FreeRadius + MySQL working, but I don't know how to customise SQL queries awe Installation/Configuration 4 4th April 2010 23:28
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 17:26


All times are GMT +2. The time now is 23:01.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.