Show both currency symbol and code
This commit is contained in:
parent
6ffb45f5d8
commit
97bf91cc5d
@ -731,7 +731,9 @@ else
|
||||
$var=!$var;
|
||||
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("CompanyCurrency").'</td><td>';
|
||||
print currency_name($conf->currency,1);
|
||||
print ' ('.$langs->getCurrencySymbol($conf->currency).')';
|
||||
print ' ('.$conf->currency;
|
||||
print ($conf->currency != $langs->getCurrencySymbol($conf->currency) ? ' - '.$langs->getCurrencySymbol($conf->currency) : '');
|
||||
print ')';
|
||||
print '</td></tr>';
|
||||
|
||||
$var=!$var;
|
||||
|
||||
@ -908,7 +908,8 @@ class Translate
|
||||
}
|
||||
|
||||
/**
|
||||
* Return a currency code into its symbol
|
||||
* Return a currency code into its symbol.
|
||||
* If mb_convert_encoding is not available, return currency code.
|
||||
*
|
||||
* @param string $currency_code Currency code
|
||||
* @param integer $forceloadall 1=Force to load all currencies into cache. We know we need to use all of them. By default read and cache only required currency.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user