mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
Merge branch 'feature/Cash-flow' of https://github.com/bigcapitalhq/client into feature/Cash-flow
This commit is contained in:
@@ -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,
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user