diff --git a/app/Libraries/Utils.php b/app/Libraries/Utils.php index e79d826439..ee50d23322 100644 --- a/app/Libraries/Utils.php +++ b/app/Libraries/Utils.php @@ -344,7 +344,7 @@ class Utils $decimal = $currency->decimal_separator; $precision = $currency->precision; $code = $currency->code; - $swapSymbol = false; + $swapSymbol = $currency->swap_currency_symbol; if ($countryId && $currencyId == CURRENCY_EURO) { $country = self::getFromCache($countryId, 'countries'); diff --git a/resources/views/money_script.blade.php b/resources/views/money_script.blade.php index 0dc44eac64..4cfd3efc65 100644 --- a/resources/views/money_script.blade.php +++ b/resources/views/money_script.blade.php @@ -70,7 +70,7 @@ var thousand = currency.thousand_separator; var decimal = currency.decimal_separator; var code = currency.code; - var swapSymbol = false; + var swapSymbol = currency.swap_currency_symbol; if (countryId && currencyId == {{ CURRENCY_EURO }}) { var country = countryMap[countryId];