mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +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