Module NumberWords: Difference between revisions

No edit summary
Line 24: Line 24:


= Usage =
= Usage =
* If you are an end user: add the string __TOTAL_TTC_WORDS__, __TOTAL_HT_WORDS__, __TOTAL_VAT_WORDS__ in any "free text for PDF" area in setup of invoices, orders, proposals... This string will be replaced with the amount with tax, without tax or for vat in full clear alphabetic text.
* If you are an end user: you can add following key
{{NumberWordsKeys}}
in any "free text for PDF" area in setup of invoices, orders, proposals... This string will be replaced with the amount with tax, without tax or for vat in full clear alphabetic text.
If you use ODT templates, the key to ise inside your ODT file are
{{NumberWordsKeysODT}}
 
* If you are a developer: You can also use, anywhere in the code, the method  
* If you are a developer: You can also use, anywhere in the code, the method  
<source lang="php">
<source lang="php">