mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-05 18:52:44 +01:00
Fixes for how to display CHF currency
This commit is contained in:
parent
d8498bdd03
commit
dc2e5706c6
@ -103,7 +103,9 @@ class Number
|
||||
$value = number_format($value, $precision, $decimal, $thousand);
|
||||
$symbol = $currency->symbol;
|
||||
|
||||
if ($client->getSetting('show_currency_code') === true) {
|
||||
if ($client->getSetting('show_currency_code') === true && $currency->code == 'CHF'){
|
||||
return "{$code} {$value}";
|
||||
} elseif ($client->getSetting('show_currency_code') === true) {
|
||||
return "{$value} {$code}";
|
||||
} elseif ($swapSymbol) {
|
||||
return "{$value} ".trim($symbol);
|
||||
|
Loading…
Reference in New Issue
Block a user