2
0
forked from Wavyzz/dolibarr

Currency symbol for peru is before value

This commit is contained in:
Laurent Destailleur
2017-07-02 14:30:24 +02:00
parent 4f72bd35db
commit c56ea50251

View File

@@ -3767,7 +3767,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','MXN');
$listofcurrenciesbefore=array('USD','GBP','AUD','MXN','PEN');
if (in_array($currency_code,$listofcurrenciesbefore)) $cursymbolbefore.=$outlangs->getCurrencySymbol($currency_code);
else
{