mirror of
https://github.com/frappe/books.git
synced 2025-01-11 10:38:14 +00:00
refactor: don't pass display, it's set on init
This commit is contained in:
parent
b058b06af7
commit
581de5f6a9
@ -131,8 +131,7 @@ module.exports = {
|
||||
}
|
||||
|
||||
if (value.round) {
|
||||
const displayPrecision = this.getDisplayPrecision();
|
||||
return currencyFormatter.format(value.round(displayPrecision));
|
||||
return currencyFormatter.format(value.round());
|
||||
}
|
||||
|
||||
const formattedCurrency = currencyFormatter(value);
|
||||
|
Loading…
Reference in New Issue
Block a user