diff --git a/src/api/certificates/source/birth-certificate-certified-copy.svg b/src/api/certificates/source/birth-certificate-certified-copy.svg
index dc1efdf4a..a5de61c60 100644
--- a/src/api/certificates/source/birth-certificate-certified-copy.svg
+++ b/src/api/certificates/source/birth-certificate-certified-copy.svg
@@ -150,7 +150,11 @@
+ {{#ifCond ageOfMotherInYears '===' undefined }}
{{motherBirthDate}}
+ {{else}}
+ {{ageOfMotherInYears}} years old
+ {{/ifCond}}
@@ -162,7 +166,7 @@
- {{formattedAddress districtPrimaryMother statePrimaryMother countryPrimaryMother}}
+ {{ districtPrimaryMother }}{{ internationalDistrictPrimaryMother }}, {{ statePrimaryMother }}{{ internationalStatePrimaryMother }}, {{ countryPrimaryMother }}
@@ -213,7 +217,11 @@
+ {{#ifCond ageOfFatherInYears '===' undefined }}
{{fatherBirthDate}}
+ {{else}}
+ {{ageOfFatherInYears}} years old
+ {{/ifCond}}
@@ -225,7 +233,7 @@
- {{formattedAddress districtPrimaryFather statePrimaryFather countryPrimaryFather}}
+ {{ districtPrimaryFather }}{{ internationalDistrictPrimaryFather }}, {{ statePrimaryFather }}{{ internationalStatePrimaryFather }}, {{ countryPrimaryFather }}
diff --git a/src/api/certificates/source/death-certificate-certified-copy.svg b/src/api/certificates/source/death-certificate-certified-copy.svg
index 5579e17d5..c7021e010 100644
--- a/src/api/certificates/source/death-certificate-certified-copy.svg
+++ b/src/api/certificates/source/death-certificate-certified-copy.svg
@@ -72,7 +72,7 @@
- {{formattedAddress districtPrimaryDeceased statePrimaryDeceased countryPrimaryDeceased}}
+ {{ districtPrimaryDeceased }}{{ internationalDistrictPrimaryDeceased }}, {{ statePrimaryDeceased }}{{ internationalStatePrimaryDeceased }}, {{ countryPrimaryDeceased }}
diff --git a/src/api/certificates/source/marriage-certificate-certified-copy.svg b/src/api/certificates/source/marriage-certificate-certified-copy.svg
index 69cb3619a..174336193 100644
--- a/src/api/certificates/source/marriage-certificate-certified-copy.svg
+++ b/src/api/certificates/source/marriage-certificate-certified-copy.svg
@@ -137,7 +137,7 @@
- {{#ifCond ageOfGroomInYears '===' undefined }}
+ {{#ifCond ageOfBrideInYears '===' undefined }}
{{brideBirthDate}}
{{else}}
{{ageOfBrideInYears}} years old
diff --git a/src/form/common/certificate/handlebars/helpers.ts b/src/form/common/certificate/handlebars/helpers.ts
index e02620bd3..58a7352d4 100644
--- a/src/form/common/certificate/handlebars/helpers.ts
+++ b/src/form/common/certificate/handlebars/helpers.ts
@@ -24,19 +24,6 @@ export function debug(): Handlebars.HelperDelegate {
}
}
-export function formattedAddress(): Handlebars.HelperDelegate {
- return function (
- this: any,
- address1: string,
- address2: string,
- address3: string
- ) {
- let address = address1 ? `${address1}, ` : ''
- address += address2 ? `${address2}, ` : ''
- address += address3 ? address2 : ''
- return address
- }
-}
export function ordinalFormatDate(): Handlebars.HelperDelegate {
return function (dateString: string) {
const date = new Date(dateString.trim())