- Learner Progress Report -
-- Overview -
-- - - - - -
- - - - - -
- - - - - -
- -
diff --git a/src/components/Admin/Admin.test.jsx b/src/components/Admin/Admin.test.jsx
index 91dda8471f..7dc0672d58 100644
--- a/src/components/Admin/Admin.test.jsx
+++ b/src/components/Admin/Admin.test.jsx
@@ -20,10 +20,20 @@ jest.mock('@edx/frontend-enterprise-utils', () => {
});
});
+jest.mock('../EnterpriseSubsidiesContext/data/hooks', () => ({
+ ...jest.requireActual('../EnterpriseSubsidiesContext/data/hooks'),
+ useEnterpriseBudgets: jest.fn().mockReturnValue({
+ data: [],
+ }),
+}));
+
const mockStore = configureMockStore([thunk]);
const store = mockStore({
portalConfiguration: {
enterpriseId: 'test-enterprise-id',
+ enterpriseFeatures: {
+ topDownAssignmentRealTimeLcm: true,
+ },
},
table: {},
csv: {},
@@ -472,6 +482,7 @@ describe('
- total number of learners registered
-
- learners enrolled in at least one course
-
- active learners in the past week
-
- course completions
-
- total number of learners registered
-
- learners enrolled in at least one course
-
- active learners in the past week
-
- course completions
-
- total number of learners registered
-
- learners enrolled in at least one course
-
- active learners in the past week
-
- course completions
-
- total number of learners registered
-
- learners enrolled in at least one course
-
- active learners in the past week
-
- course completions
-
- total number of learners registered
-
- learners enrolled in at least one course
-
- active learners in the past week
-
- course completions
-
- total number of learners registered
-
- learners enrolled in at least one course
-
- active learners in the past week
-
- course completions
-
- total number of learners registered
-
- learners enrolled in at least one course
-
- active learners in the past week
-
- course completions
-
- total number of learners registered
-
- learners enrolled in at least one course
-
- active learners in the past week
-
- course completions
-
- total number of learners registered
-
- learners enrolled in at least one course
-
- active learners in the past week
-
- course completions
-
- total number of learners registered
-
- learners enrolled in at least one course
-
- active learners in the past week
-
- course completions
-
- total number of learners registered
-
- learners enrolled in at least one course
-
- active learners in the past week
-
- course completions
-
- Try refreshing your screen
- Network Error
-
- total number of learners registered
-
- learners enrolled in at least one course
-
- active learners in the past week
-
- course completions
-
- Learner Progress Report
-
-
- Overview
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Full Report
-
-
- Learner Progress Report
-
-
- Overview
-
-
-
- 3
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
- Full Report
-
-
- Learner Progress Report
-
-
- Overview
-
-
-
- 3
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
- Full Report
-
-
- Learner Progress Report
-
-
- Overview
-
-
-
- 3
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
- Full Report
-
-
- Learner Progress Report
-
-
- Overview
-
-
-
- 3
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
- Full Report
-
-
- Learner Progress Report
-
-
- Overview
-
-
-
- 3
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
- Full Report
-
-
- Learner Progress Report
-
-
- Overview
-
-
-
- 3
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
- Full Report
-
-
- Learner Progress Report
-
-
- Overview
-
-
-
- 3
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
- Full Report
-
-
- Learner Progress Report
-
-
- Overview
-
-
-
- 3
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
- Full Report
-
-
- Learner Progress Report
-
-
- Overview
-
-
-
- 3
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
- Full Report
-
-
- Learner Progress Report
-
-
- Overview
-
-
-
- 3
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
- Full Report
-
-
- Learner Progress Report
-
-
- Overview
-
-
-
- 3
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
- Full Report
-
-
- Learner Progress Report
-
-
- Overview
-
-
- Full Report
-
-
- Learner Progress Report
-
-
- Overview
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Full Report
-
-
-
-
-
-
-
-
-
-
- Learner Progress Report
-
-
- Overview
-
-
-
- 3
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
- Full Report
-
-
{notification.message}
++ {modal.message} +
++ This budget has expired. To create a new budget, please contact support. +
+ +
Funds from this budget are set to auto-allocate to registered learners based on
settings configured with your support team.
@@ -123,6 +172,7 @@ BudgetActions.propTypes = {
budgetId: PropTypes.string.isRequired,
isAssignable: PropTypes.bool.isRequired,
enterpriseId: PropTypes.string.isRequired,
+ status: PropTypes.string.isRequired,
};
const BudgetDetailPageOverviewAvailability = ({
@@ -131,37 +181,38 @@ const BudgetDetailPageOverviewAvailability = ({
budgetTotalSummary: { available, utilized, limit },
enterpriseFeatures,
enterpriseId,
+ status,
}) => (