diff --git a/ecommerce/minilang/customer/CustomerEvents.xml b/ecommerce/minilang/customer/CustomerEvents.xml index 363a79f55..04a21ecb3 100644 --- a/ecommerce/minilang/customer/CustomerEvents.xml +++ b/ecommerce/minilang/customer/CustomerEvents.xml @@ -556,7 +556,7 @@ under the License. - + diff --git a/ecommerce/template/customer/EditPerson.ftl b/ecommerce/template/customer/EditPerson.ftl index 6035dba30..3b84245cd 100644 --- a/ecommerce/template/customer/EditPerson.ftl +++ b/ecommerce/template/customer/EditPerson.ftl @@ -80,10 +80,11 @@ under the License.
- <#assign maritalStatusEnums = EntityQuery.use(delegator).from("Enumeration").where("enumTypeId", "MARITAL_STATUS").cache().orderBy("sequenceId").queryList()!> - + + <#list maritalStatusTypes as maritalStatusType> +
diff --git a/ecommerce/template/customer/ViewProfile.ftl b/ecommerce/template/customer/ViewProfile.ftl index 9f027d35a..e7d38c8df 100644 --- a/ecommerce/template/customer/ViewProfile.ftl +++ b/ecommerce/template/customer/ViewProfile.ftl @@ -89,10 +89,10 @@ under the License.
${uiLabelMap.PartyWeight}
${person.weight}
- <#if person.maritalStatusEnumId?has_content> - <#assign maritalStatus = EntityQuery.use(delegator).from("Enumeration").where("enumId", person.maritalStatusEnumId!).cache().queryOne()!> + <#if person.maritalStatusTypeId?has_content> + <#assign maritalStatus = EntityQuery.use(delegator).from("MaritalStatusType").where("maritalStatusTypeId", person.maritalStatusTypeId!).cache().queryOne()!>
${uiLabelMap.PartyMaritalStatus}
-
${maritalStatus.description!person.maritalStatusEnumId}
+
${maritalStatus.description!person.maritalStatusTypeId}