mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Override precisiong for jpy currency
This commit is contained in:
parent
047fb30a78
commit
20dcfffb34
@ -244,6 +244,11 @@ class Number
|
||||
$precision = 2;
|
||||
}
|
||||
|
||||
//04-04-2023 if currency = JPY override precision to 0
|
||||
if($currency->code == 'JPY') {
|
||||
$precision = 0;
|
||||
}
|
||||
|
||||
$value = number_format($v, $precision, $decimal, $thousand);
|
||||
$symbol = $currency->symbol;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user