feat: customers balance summary.

This commit is contained in:
elforjani3
2021-05-06 17:45:42 +02:00
parent 9b5ccf9248
commit 1e9d068028
10 changed files with 577 additions and 8 deletions

View File

@@ -0,0 +1,15 @@
import { connect } from 'react-redux';
import { getCustomersBalanceSummaryFilterDrawer } from 'store/financialStatement/financialStatements.selectors';
export default (mapState) => {
const mapStateToProps = (state, props) => {
const mapped = {
customersBalanceDrawerFilter: getCustomersBalanceSummaryFilterDrawer(
state,
props,
),
};
return mapState ? mapState(mapped, state, props) : mapped;
};
return connect(mapStateToProps);
};