forked from Wavyzz/dolibarr
Merge pull request #11605 from grandoc/new_branch_01_08_2019
add CAN$ within list of currencies before
This commit is contained in:
@@ -4407,7 +4407,7 @@ function price($amount, $form = 0, $outlangs = '', $trunc = 1, $rounding = -1, $
|
|||||||
{
|
{
|
||||||
if ($currency_code == 'auto') $currency_code=$conf->currency;
|
if ($currency_code == 'auto') $currency_code=$conf->currency;
|
||||||
|
|
||||||
$listofcurrenciesbefore=array('USD','GBP','AUD','HKD','MXN','PEN','CNY');
|
$listofcurrenciesbefore=array('USD','GBP','AUD','HKD','MXN','PEN','CNY','CAD');
|
||||||
$listoflanguagesbefore=array('nl_NL');
|
$listoflanguagesbefore=array('nl_NL');
|
||||||
if (in_array($currency_code, $listofcurrenciesbefore) || in_array($outlangs->defaultlang, $listoflanguagesbefore))
|
if (in_array($currency_code, $listofcurrenciesbefore) || in_array($outlangs->defaultlang, $listoflanguagesbefore))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user