mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-19 17:24:26 +08:00
remove redundant code
This commit is contained in:
@@ -274,13 +274,7 @@ export function useReconciliationStatementPageBase() {
|
|||||||
displayAccountBalance = formatAmountToWesternArabicNumeralsWithoutDigitGrouping(transaction.accountClosingBalance);
|
displayAccountBalance = formatAmountToWesternArabicNumeralsWithoutDigitGrouping(transaction.accountClosingBalance);
|
||||||
}
|
}
|
||||||
|
|
||||||
let description = transaction.comment || '';
|
const description = replaceAll(transaction.comment || '', separator, ' ');
|
||||||
|
|
||||||
if (fileType === KnownFileType.CSV) {
|
|
||||||
description = replaceAll(description, ',', ' ');
|
|
||||||
} else if (fileType === KnownFileType.TSV) {
|
|
||||||
description = replaceAll(description, '\t', ' ');
|
|
||||||
}
|
|
||||||
|
|
||||||
return [
|
return [
|
||||||
formatDateTimeToGregorianDefaultDateTime(transactionTime),
|
formatDateTimeToGregorianDefaultDateTime(transactionTime),
|
||||||
|
|||||||
Reference in New Issue
Block a user