mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for default currency symbol
This commit is contained in:
parent
a0f8475a35
commit
5084e4c5b9
@ -389,7 +389,7 @@ class Utils
|
||||
|
||||
if ($decorator == CURRENCY_DECORATOR_NONE) {
|
||||
return $value;
|
||||
} elseif ($decorator == CURRENCY_DECORATOR_SYMBOL || ! $symbol) {
|
||||
} elseif ($decorator == CURRENCY_DECORATOR_CODE || ! $symbol) {
|
||||
return "{$value} {$code}";
|
||||
} elseif ($swapSymbol) {
|
||||
return "{$value} " . trim($symbol);
|
||||
|
@ -93,7 +93,7 @@
|
||||
|
||||
if (decorator == 'none') {
|
||||
return value;
|
||||
} else if (decorator == 'code' || !symbol) {
|
||||
} else if (decorator == '{{ CURRENCY_DECORATOR_CODE }}' || ! symbol) {
|
||||
return value + ' ' + code;
|
||||
} else if (swapSymbol) {
|
||||
return value + ' ' + symbol.trim();
|
||||
|
Loading…
x
Reference in New Issue
Block a user