fix amounts on some pages were not formatted using the account currency

This commit is contained in:
MaysWind
2026-04-17 23:37:07 +08:00
parent 1e4bb73874
commit a6e252c30d
6 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -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);