Merge branch 'feature/Cash-flow' of https://github.com/bigcapitalhq/client into feature/Cash-flow

This commit is contained in:
a.bouhuolia
2021-10-30 16:17:45 +02:00
5 changed files with 16 additions and 10 deletions

View File

@@ -43,15 +43,17 @@ function AccountTransactionsActionsBar({
// Handle money in form
const handleMoneyInFormTransaction = (account) => {
openDialog('money-in', {
account_type: account,
account_id: accountId,
account_type: account.value,
account_name: account.name,
});
};
// Handle money out form
const handlMoneyOutFormTransaction = (account) => {
openDialog('money-out', {
account_type: account,
account_id: accountId,
account_type: account.value,
account_name: account.name,
});
};
// Refresh cashflow infinity transactions hook.