delivery step actions
This commit is contained in:
@@ -4,6 +4,7 @@ import {
|
||||
RECEIVE_CUSTOMER_DOCUMENTS,
|
||||
RECEIVE_VALIDATION_COMMENTS,
|
||||
RECEIVE_CUSTOMER_ACCEPTANCE,
|
||||
RECEIVE_CUSTOMER_QUESTIONNAIRES,
|
||||
RECEIVE_IS_COMPONENT_DISABLED,
|
||||
RECEIVE_IS_NEXT_STEP_WANTED,
|
||||
SET_EARLIEST_INSTALLATION_DATE,
|
||||
@@ -53,6 +54,14 @@ moduleReducers[RECEIVE_CUSTOMER_ACCEPTANCE] = (state, action) => {
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
moduleReducers[RECEIVE_CUSTOMER_QUESTIONNAIRES] = (state, action) => {
|
||||
|
||||
return Object.assign({}, state, {
|
||||
customerQuestionnaires: action.customerQuestionnaires
|
||||
});
|
||||
};
|
||||
|
||||
moduleReducers[RECEIVE_IS_COMPONENT_DISABLED] = (state, action) => {
|
||||
const newState = {isComponentDisabled : {}};
|
||||
newState.isComponentDisabled.installationScheduling = state.isComponentDisabled && state.isComponentDisabled.installationScheduling
|
||||
|
||||
Reference in New Issue
Block a user