WIP: transactions by customers.

This commit is contained in:
a.bouhuolia
2021-05-07 23:49:38 +02:00
parent 5f2e90b234
commit b5ed7af7eb
16 changed files with 425 additions and 76 deletions

View File

@@ -242,10 +242,11 @@ const formatNumber = (
decimal = '.',
zeroSign = '',
money = true,
currencyCode
currencyCode,
symbol
}
) => {
const symbol = getCurrencySign(currencyCode);
const formattedSymbol = getCurrencySign(currencyCode);
const negForamt = getNegativeFormat(negativeFormat);
const format = '%s%v';
@@ -256,7 +257,7 @@ const formatNumber = (
}
return accounting.formatMoney(
formattedBalance,
money ? symbol : '',
money ? formattedSymbol : symbol ? symbol : '',
precision,
thousand,
decimal,