1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Enable swap symbol for currencies

This commit is contained in:
Bartlomiej Szala 2016-05-16 22:37:16 +02:00
parent 5d94dfe3a6
commit 9c0202713a
2 changed files with 2 additions and 2 deletions

View File

@ -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');

View File

@ -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];