diff --git a/frontend/src/constants/profileSettingsConstants.js b/frontend/src/constants/profileSettingsConstants.js index 4abb1b2..b6c6dba 100644 --- a/frontend/src/constants/profileSettingsConstants.js +++ b/frontend/src/constants/profileSettingsConstants.js @@ -35,7 +35,8 @@ export const profileTexts = { FIRST_NAME: 'First Name', LAST_NAME: 'Last Name', DELEGATE: 'Attention', - INVOICE_MAIL: 'Invoice Mail' + INVOICE_MAIL: 'Invoice Mail', + DELIVERY_MAIL: 'Delivery Mail' }, buttons: { SAVE: 'Save', diff --git a/frontend/src/containers/profileSettings/components/AddEditProfileAddress.jsx b/frontend/src/containers/profileSettings/components/AddEditProfileAddress.jsx index bc0497f..b026ae1 100644 --- a/frontend/src/containers/profileSettings/components/AddEditProfileAddress.jsx +++ b/frontend/src/containers/profileSettings/components/AddEditProfileAddress.jsx @@ -12,7 +12,10 @@ class AddEditProfileAddress extends Component { idCountrySelected: address.idCountrySelected || this.props.params.countries[0].idCountry, city: address.city || '', detailedAddress: address.detailedAddress || '', - zipCode: address.zipCode || '' + zipCode: address.zipCode || '', + firstName: address.firstName || '', + lastName: address.lastName || '', + deliveryMail: address.deliveryMail || '' }; this.props.params.onAddressChange(this.state); @@ -30,16 +33,52 @@ class AddEditProfileAddress extends Component { } render() { - const {idCountrySelected, city, detailedAddress, zipCode} = this.state; + const {idCountrySelected, city, detailedAddress, zipCode, firstName, lastName, deliveryMail} = this.state; const {countries} = this.props.params; return (
+
{profileTexts.labels.DELEGATE}
+ + + + + + + + + + + + + + + +
{profileTexts.labels.BILLING_ADDRESSES}
{profileTexts.labels.ADDRESS_CITY}*