feat: money in .

This commit is contained in:
elforjani13
2021-10-23 20:03:31 +02:00
parent c7013caf12
commit 1fa03822f1
25 changed files with 242 additions and 350 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,
});
};