Line 1:
Line 1:
+
<!-- BEGIN origin interlang links -->
+
<!-- You can edit this section but do NOT remove these comments
+
Links below will be automatically replicated on translated pages by PolyglotBot -->
+
[[fr:Module_NumberWords_FR]]
+
[[es:Módulo_NumberWords]]
+
<!-- END interlang links -->
+
[[Category:Complementary modules]]
[[Category:Complementary modules]]
[[Category:NumberWords]]
[[Category:NumberWords]]
+
[[Category:DoliCloud]]
{{TemplateDocDevEn}}
{{TemplateDocDevEn}}
{{TemplateDocUser}}
{{TemplateDocUser}}
= Informations =
= Informations =
{{TemplateModuleInfo
{{TemplateModuleInfo
−
|editor=NLTechno ([http://www.nltechno.com www.nltechno.com])
+
|modulename=Number to Words
−
|web=http://www.dolistore.com/
+
|editor=DoliCloud
+
|web={{URLNLTechno}}
+
|webbuy={{LinkToPluginDownloadDoliStore|keyword=numberword}}
|status=stable
|status=stable
−
|minversion=3.0.0
+
|minversion=5.0
|note=
|note=
}}
}}
Line 16:
Line 26:
= Install =
= Install =
−
{{InstallModuleEn}}
+
{{InstallModuleDoliStoreEn}}
= Setup =
= Setup =
Line 24:
Line 34:
= 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==
−
* If you are a developer: You can also use, anywhere in the code, the method
+
you can add following key
−
<source lang="php">
+
{{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 use inside your ODT file are
+
{{NumberWordsKeysODT}}
+
+
==If you are a developer==
+
You can also use, anywhere in the code, the method
+
<syntaxhighlight lang="php">
$langs->getLabelFromNumber($mynumber,0|1)
$langs->getLabelFromNumber($mynumber,0|1)
−
</source>
+
</syntaxhighlight>
to get full text string of a number (if second parameter is 0) or an amount (if second parameter is 1).
to get full text string of a number (if second parameter is 0) or an amount (if second parameter is 1).
= Development =
= Development =
−
{{TemplateModSavannahEn}}
+
{{TemplateModNLTechnoEn}}