2
0
forked from Wavyzz/dolibarr

Change to $listofcurrenciesbefore for GBP + AUD

Update of functions.lib.php - function price()
$listofcurrenciesbefore to include USD, GBP, and AUD to support $ and £ appearing before amounts on invoices not after the amount
This commit is contained in:
fentman
2015-01-08 11:21:25 +11:00
committed by Laurent Destailleur
parent 27698e7f0f
commit 9049931ff0

View File

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