Currency symbol in Mexico

I tried to change the order of the currency symbol in Mexico is before.
This commit is contained in:
AcceTT Soluciones Computacionales 2015-01-26 21:38:43 -06:00
parent ffde00de81
commit 608b099934

View File

@ -2905,7 +2905,7 @@ function price($amount, $form=0, $outlangs='', $trunc=1, $rounding=-1, $forcerou
{
if ($currency_code == 'auto') $currency_code=$conf->currency;
$listofcurrenciesbefore=array('USD','GBP','AUD');
$listofcurrenciesbefore=array('USD','GBP','AUD','MXN');
if (in_array($currency_code,$listofcurrenciesbefore)) $cursymbolbefore.=$outlangs->getCurrencySymbol($currency_code);
else
{