mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-15 15:37:33 +08:00
fix amounts on some pages were not formatted using the account currency
This commit is contained in:
@@ -525,7 +525,7 @@ function exportData(): { headers: string[], data: string[][] } {
|
||||
if (props.oneHundredPercentStacked) {
|
||||
return formatNumberToWesternArabicNumeralsWithoutDigitGrouping(item.data[index] ?? 0);
|
||||
} else {
|
||||
return formatAmountToWesternArabicNumeralsWithoutDigitGrouping(item.data[index] ?? 0);
|
||||
return formatAmountToWesternArabicNumeralsWithoutDigitGrouping(item.data[index] ?? 0, props.defaultCurrency);
|
||||
}
|
||||
}));
|
||||
data.push(row);
|
||||
|
||||
Reference in New Issue
Block a user