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

This commit is contained in:
a.bouhuolia
2021-10-23 23:11:13 +02:00
48 changed files with 486 additions and 850 deletions

View File

@@ -40,17 +40,17 @@ function AccountTransactionsActionsBar({
const { accountId } = useAccountTransactionsContext();
// Handle money in form
const handleMoneyInFormTransaction = (value) => {
const handleMoneyInFormTransaction = (account) => {
openDialog('money-in', {
account_type: value.type,
account_type: account,
account_id: accountId,
});
};
// Handle money out form
const handlMoneyOutFormTransaction = (value) => {
const handlMoneyOutFormTransaction = (account) => {
openDialog('money-out', {
account_type: value.type,
account_type: account,
account_id: accountId,
});
};