feat: fix Money in & out dialog.

This commit is contained in:
elforjani13
2021-10-28 14:39:54 +02:00
parent b0f1584b04
commit 4b96ba76f5
4 changed files with 12 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.