Transaction matching

This commit is contained in:
Hillel Coren 2022-11-03 16:49:23 +02:00
parent 728af63cab
commit 4aa13a7651
1 changed files with 5 additions and 0 deletions

View File

@ -658,6 +658,8 @@ class _MatchWithdrawalsState extends State<_MatchWithdrawals> {
_selectedVendor = vendor;
}
updateVendorList();
store.dispatch(SaveTransactionSuccess(transaction.rebuild(
(b) => b..pendingVendorId = _selectedVendor?.id)));
}),
);
},
@ -739,6 +741,9 @@ class _MatchWithdrawalsState extends State<_MatchWithdrawals> {
_selectedCategory = category;
}
updateCategoryList();
store.dispatch(SaveTransactionSuccess(
transaction.rebuild((b) =>
b..pendingCategoryId = _selectedCategory?.id)));
}),
);
},