diff --git a/.env b/.env index eb03380d0..73b56bd67 100644 --- a/.env +++ b/.env @@ -4,6 +4,7 @@ BASE_URL=null FEATURE_CONFIGURATION_MANAGEMENT='' FEATURE_CONFIGURATION_ENTERPRISE_PROVISION='' FEATURE_CONFIGURATION_EDIT_ENTERPRISE_PROVISION='' +COMMERCE_COORDINATOR_ORDER_DETAILS_URL='' CREDENTIALS_BASE_URL=null CSRF_TOKEN_API_PATH=null ECOMMERCE_BASE_URL=null diff --git a/.env.development b/.env.development index d362f9738..22d16951f 100644 --- a/.env.development +++ b/.env.development @@ -5,6 +5,7 @@ BASE_URL='http://localhost:18450' FEATURE_CONFIGURATION_MANAGEMENT='true' FEATURE_CONFIGURATION_ENTERPRISE_PROVISION='true' FEATURE_CONFIGURATION_EDIT_ENTERPRISE_PROVISION='true' +COMMERCE_COORDINATOR_ORDER_DETAILS_URL='http://localhost:8140/lms/order_details_page_redirect' CREDENTIALS_BASE_URL='http://localhost:18150' CSRF_TOKEN_API_PATH='/csrf/api/v1/token' ECOMMERCE_BASE_URL='http://localhost:18130' diff --git a/src/index.jsx b/src/index.jsx index 076c22405..30e4ff626 100755 --- a/src/index.jsx +++ b/src/index.jsx @@ -100,6 +100,7 @@ initialize({ handlers: { config: () => { mergeConfig({ + COMMERCE_COORDINATOR_ORDER_DETAILS_URL: process.env.COMMERCE_COORDINATOR_ORDER_DETAILS_URL || null, LICENSE_MANAGER_URL: process.env.LICENSE_MANAGER_URL || null, ENTERPRISE_ACCESS_BASE_URL: process.env.ENTERPRISE_ACCESS_BASE_URL || null, FEATURE_CONFIGURATION_MANAGEMENT: process.env.FEATURE_CONFIGURATION_MANAGEMENT || hasFeatureFlagEnabled('FEATURE_CONFIGURATION_MANAGEMENT') || null, diff --git a/src/users/enrollments/Enrollments.jsx b/src/users/enrollments/Enrollments.jsx index 764711045..63442c976 100644 --- a/src/users/enrollments/Enrollments.jsx +++ b/src/users/enrollments/Enrollments.jsx @@ -208,8 +208,22 @@ export default function Enrollments({ Header: 'Reason', accessor: 'reason', }, { - // eslint-disable-next-line react/prop-types - Header: 'Order Number', accessor: 'orderNumber', Cell: ({ value }) => {value}, + Header: 'Order Number', + accessor: 'orderNumber', + Cell: ({ value }) => ( + + {value} + + ), }, ], [],