mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
feat: bulk categorize and match bank transactions
This commit is contained in:
@@ -9,6 +9,7 @@ import {
|
||||
getTransactionsToCategorizeSelected,
|
||||
addTransactionsToCategorizeSelected,
|
||||
removeTransactionsToCategorizeSelected,
|
||||
getOpenMatchingTransactionAside,
|
||||
} from '@/store/banking/banking.reducer';
|
||||
|
||||
export const useSetBankingPlaidToken = () => {
|
||||
@@ -82,3 +83,14 @@ export const useResetTransactionsToCategorizeSelected = () => {
|
||||
dispatch(resetTransactionsToCategorizeSelected());
|
||||
}, [dispatch]);
|
||||
};
|
||||
|
||||
export const useGetOpenMatchingTransactionAside = () => {
|
||||
const openMatchingTransactionAside = useSelector(
|
||||
getOpenMatchingTransactionAside,
|
||||
);
|
||||
|
||||
return useMemo(
|
||||
() => openMatchingTransactionAside,
|
||||
[openMatchingTransactionAside],
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user