New: Function getCurrencyAmount is marked as deprecated. Use function

price to output a price including currency symbol.
This commit is contained in:
Laurent Destailleur 2014-10-16 01:26:44 +02:00
parent b90011aeb1
commit c8dd0383d8
2 changed files with 3 additions and 0 deletions

View File

@ -120,6 +120,8 @@ For developers:
- New: renamed table llx_c_pays to llx_c_country & libelle field to label. - New: renamed table llx_c_pays to llx_c_country & libelle field to label.
- New: Added hook "formConfirm" and "doActions" for fichinter card - New: Added hook "formConfirm" and "doActions" for fichinter card
- New: Can search list of thirdparties from web service on part of name. - New: Can search list of thirdparties from web service on part of name.
- New: Function getCurrencyAmount is marked as deprecated. Use function price to output a price
including currency symbol.
- Qual: Renamed table llx_c_civilite into llx_c_civility, - Qual: Renamed table llx_c_civilite into llx_c_civility,
field civilite into label in the same table, field civilite into label in the same table,
and field civilite into civility in other table. and field civilite into civility in other table.

View File

@ -701,6 +701,7 @@ class Translate
* @param string $currency_code Currency Code * @param string $currency_code Currency Code
* @param string $amount If not '', show currency + amount according to langs ($10, 10). * @param string $amount If not '', show currency + amount according to langs ($10, 10).
* @return string Amount + Currency symbol encoded into UTF8 * @return string Amount + Currency symbol encoded into UTF8
* @deprecated Use method price to output a price
*/ */
function getCurrencyAmount($currency_code, $amount) function getCurrencyAmount($currency_code, $amount)
{ {