mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-30 23:54:33 -04:00
Override precisiong for jpy currency
This commit is contained in:
parent
047fb30a78
commit
20dcfffb34
@ -244,6 +244,11 @@ class Number
|
|||||||
$precision = 2;
|
$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);
|
$value = number_format($v, $precision, $decimal, $thousand);
|
||||||
$symbol = $currency->symbol;
|
$symbol = $currency->symbol;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user