mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-21 15:20:34 +00:00
feat: Receivable aging summary front-end.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { getFinancialSheetIndexByQuery } from 'store/financialStatement/financialStatements.selectors';
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
const mapStateToProps = (state, props) => {
|
||||
const { receivableAgingSummaryQuery } = props;
|
||||
|
||||
return {
|
||||
receivableAgingSummaryIndex: getFinancialSheetIndexByQuery(
|
||||
state.financialStatements.receivableAgingSummary.sheets,
|
||||
receivableAgingSummaryQuery,
|
||||
),
|
||||
};
|
||||
}
|
||||
export default connect(mapStateToProps);
|
||||
Reference in New Issue
Block a user