fix(server): match transactions query

This commit is contained in:
Ahmed Bouhuolia
2024-07-06 16:10:34 +02:00
parent 87f60f7461
commit cd9039fe16
21 changed files with 413 additions and 71 deletions

View File

@@ -11,7 +11,7 @@ export interface WithBankingActionsProps {
setUncategorizedTransactionIdForMatching: (
uncategorizedTransactionId: number,
) => void;
openReconcileMatchingTransaction: () => void;
openReconcileMatchingTransaction: (pendingAmount: number) => void;
closeReconcileMatchingTransaction: () => void;
}
@@ -24,8 +24,8 @@ const mapDipatchToProps = (dispatch: any): WithBankingActionsProps => ({
dispatch(
setUncategorizedTransactionIdForMatching(uncategorizedTransactionId),
),
openReconcileMatchingTransaction: () =>
dispatch(openReconcileMatchingTransaction()),
openReconcileMatchingTransaction: (pendingAmount: number) =>
dispatch(openReconcileMatchingTransaction({ pending: pendingAmount })),
closeReconcileMatchingTransaction: () =>
dispatch(closeReconcileMatchingTransaction()),
});