Module NumberWords

Revision as of 21:37, 25 August 2009 by Eldy (talk | contribs) (Created page with 'Category:Complementary modules Category:NumberWords {{TemplateDocDevEn}} {{TemplateDocUser}} = Features = With this module, Dolibarr is able to translate decimal number ...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Features

With this module, Dolibarr is able to translate decimal number or amount into full text strings ("110 dollars" will give "one hundred and ten dollars")

Install

From the application

  • Download the archive file of module (.zip file)
  • Go on menu Home -> Setup -> Modules -> Deploy external module and submit the file.
  • Module is then visible into list of available modules (Home -> Setup -> Modules) and can be activated.

Manually

  • Download the archive file of module (.zip file)
  • Put the file into the root directory of Dolibarr.
  • Uncompress the archive file, for example with command
unzip modulefile.zip
  • Module is then visible into list of available modules (Home -> Setup -> Modules) and can be activated.

Setup

Template:NoActivationModuleEn

Usage

  • If you are an end user: add the string __TOTAL_TTC_WORDS__ in any "free text for PDF" area in setup of invoices, orders, proposals... This string will we replaced with the amount of invoice in full text .
  • If you are a developper: You can also use, anywhere in the code, the method
$langs->getLabelFromNumber($mynumber,0|1)

to get full text string of a number or amount.

Development

To complete