WIP Make journal entries.

This commit is contained in:
Ahmed Bouhuolia
2020-04-07 12:56:12 +02:00
parent 5f6c7ca2d5
commit 490979ded5
19 changed files with 632 additions and 197 deletions

View File

@@ -0,0 +1,26 @@
import React from 'react';
import AccountsSelectList from 'components/AccountsSelectList';
import classNames from 'classnames';
import {
FormGroup,
Classes,
} from '@blueprintjs/core';
// Account cell renderer.
const AccountCellRenderer = ({
row: { index, original },
payload: { accounts }
}) => {
return (
<FormGroup
className={classNames('form-group--select-list',
'form-group--account', Classes.FILL)}
>
<AccountsSelectList
accounts={accounts}
onAccountSelected={() => {}} />
</FormGroup>
);
};
export default AccountCellRenderer;