Enable address changes in cart module

This commit is contained in:
GotPPay
2018-09-12 15:36:07 +02:00
committed by Bilal Catic
parent 8a9af7ed8c
commit a901da55fc
2 changed files with 3 additions and 9 deletions

View File

@@ -45,8 +45,7 @@ class CartCustomerDetailsContainer extends Component {
this.props.dispatch(fetchCartItems());
this.props.dispatch(setNextActionFct(this.handleNextAction));
this.props.dispatch(setPrevActionFct(this.handlePrevAction));
//this.props.dispatch(fetchProfileInfo(this.props.userInfo.wiaas_id_user));
this.props.dispatch(fetchProfileInfo());
this.props.dispatch(fetchProfileInfo(this.props.userInfo.wiaas_id_user));
this.props.dispatch(fetchCountries());
}
@@ -192,7 +191,7 @@ class CartCustomerDetailsContainer extends Component {
(profileInfo && !isProfileLoading) &&
<ProfileAddressesContainer
params={{location: 'cart', handleDeliveryChange: this.handleDeliveryChange, idSelectedDeliveryAddress: this.state.delivery.id}}
idUser={0}/>
idUser={this.props.userInfo.wiaas_id_user}/>
}
</Form>
</div>
@@ -206,7 +205,7 @@ class CartCustomerDetailsContainer extends Component {
<BillingAddressesContainer
idCompany={profileInfo.idCompany}
params={{location: 'cart', handleBillingChange: this.handleBillingChange, idSelectedBillingAddress: this.state.billing.id}}
idUser={0}/>
idUser={this.props.userInfo.wiaas_id_user}/>
}
</Form>
</div>

View File

@@ -226,11 +226,6 @@
.cart-address-box {
margin-top: 2rem;
}
#order-projects .actions-button, .add-address-btn, .address-icons {
opacity: 0.3;
pointer-events: none;
}
}
#cart-customer-main-information-container {