refactoring: expenses landing list.

refactoring: customers landing list.
refactoring: vendors landing list.
refactoring: manual journals landing list.
This commit is contained in:
a.bouhuolia
2021-02-10 18:35:19 +02:00
parent 6e10ed0721
commit c68b4ca9ba
170 changed files with 2835 additions and 4430 deletions

View File

@@ -12,7 +12,7 @@ import { FormattedMessage as T } from 'react-intl';
import classNames from 'classnames';
import { CustomersMultiSelect, Row, Col, FieldHint } from 'components';
import { momentFormatter } from 'utils';
import withCustomers from 'containers/Customers/withCustomers';
// import withCustomers from 'containers/Customers/withCustomers';
import { compose } from 'redux';
@@ -106,7 +106,7 @@ function ARAgingSummaryHeaderGeneral({
);
}
export default compose(
withCustomers(({ customers }) => ({
customers,
})),
// withCustomers(({ customers }) => ({
// customers,
// })),
)(ARAgingSummaryHeaderGeneral);

View File

@@ -13,7 +13,6 @@ import { GeneralLedgerProvider } from './GeneralLedgerProvider';
import withGeneralLedgerActions from './withGeneralLedgerActions';
import withDashboardActions from 'containers/Dashboard/withDashboardActions';
import withAccountsActions from 'containers/Accounts/withAccountsActions';
import withSettings from 'containers/Settings/withSettings';
import { compose } from 'utils';
@@ -97,7 +96,6 @@ function GeneralLedger({
export default compose(
withGeneralLedgerActions,
withDashboardActions,
withAccountsActions,
withSettings(({ organizationSettings }) => ({
organizationName: organizationSettings.name,
})),