transaction reconciliation statement supports sorting by account name and category name on desktop version

This commit is contained in:
MaysWind
2025-11-23 00:32:38 +08:00
parent 83bd68e7f4
commit 44dc45de51
4 changed files with 97 additions and 65 deletions
+16
View File
@@ -690,6 +690,22 @@ export interface TransactionReconciliationStatementResponse {
readonly closingBalance: number;
}
export interface TransactionReconciliationStatementResponseItemWithInfo extends TransactionReconciliationStatementResponseItem {
readonly sourceAccount?: Account;
readonly sourceAccountName: string;
readonly destinationAccount?: Account;
readonly category?: TransactionCategory;
readonly categoryName: string;
}
export interface TransactionReconciliationStatementResponseWithInfo {
readonly transactions: TransactionReconciliationStatementResponseItemWithInfo[];
readonly totalInflows: number;
readonly totalOutflows: number;
readonly openingBalance: number;
readonly closingBalance: number;
}
export interface TransactionPageWrapper {
readonly items: Transaction[];
readonly totalCount?: number;