diff --git a/schemas/get-death-certificate.json b/schemas/get-death-certificate.json index 01b1d8a..c080c38 100644 --- a/schemas/get-death-certificate.json +++ b/schemas/get-death-certificate.json @@ -217,7 +217,6 @@ "label": "National Identification (ID) Number", "required": false, "validations": { - "min": 2, "message": "ID Number must be at least 2 characters" } }, @@ -236,9 +235,8 @@ "name": "causeOfDeath", "type": "string", "label": "Cause of death", - "required": true, + "required": false, "validations": { - "min": 2, "max": 200, "message": "Cause of death must be at least 2 characters" } diff --git a/src/email/templates/death-certificate.hbs b/src/email/templates/death-certificate.hbs index 07e22a6..435fefb 100644 --- a/src/email/templates/death-certificate.hbs +++ b/src/email/templates/death-certificate.hbs @@ -27,12 +27,8 @@
Application Submitted: {{processedAt}}
- Application Type: - {{#if (eq applyingForYourself 'yes')}} - Self Application - {{else}} - Third Party Application - {{/if}} + Relationship to Deceased: + {{relationship}}
@@ -74,10 +70,10 @@ {{applicant.email}} {{/if}} - {{#if applicant.phoneNumber}} + {{#if applicant.telephoneNumber}} - Phone Number: - {{applicant.phoneNumber}} + Telephone Number: + {{applicant.telephoneNumber}} {{/if}} @@ -116,20 +112,38 @@

Identification

- {{#if applicant.usePassportInstead}} - {{#if applicant.passportNumber}} - - - - - {{/if}} - {{else}} - {{#if applicant.idNumber}} - - - - - {{/if}} + {{#if applicant.idNumber}} + + + + + {{/if}} + {{#if applicant.passportNumber}} + + + + + {{/if}} + +
Passport Number:{{applicant.passportNumber}}
National ID Number:{{applicant.idNumber}}
National ID Number:{{applicant.idNumber}}
Passport Number:{{applicant.passportNumber}}
+ + + +
+

Application Details

+ + + {{#if relationship}} + + + + + {{/if}} + {{#if reasonForRequest}} + + + + {{/if}}
Relationship to Deceased:{{relationship}}
Reason for Request:{{reasonForRequest}}
@@ -158,10 +172,30 @@ {{deceased.lastName}} {{/if}} - {{#if deceased.dateOfBirth}} + {{#if deceased.idNumber}} + + National ID Number: + {{deceased.idNumber}} + + {{/if}} + {{#if deceased.knownDateOfDeath}} + + Known Date of Death: + {{#if + (eq deceased.knownDateOfDeath 'yes') + }}Yes{{else}}No{{/if}} + + {{/if}} + {{#if deceased.dateOfDeath}} + + Date of Death: + {{deceased.dateOfDeath}} + + {{/if}} + {{#if deceased.estimatedDateOfDeath}} - Date of Birth: - {{deceased.dateOfBirth}} + Estimated Date of Death: + {{deceased.estimatedDateOfDeath}} {{/if}} {{#if deceased.placeOfDeath}} @@ -194,13 +228,12 @@

This is an automated email from the Government of Barbados Forms Processing System.
- Birth Certificate applications are processed during regular business + Death Certificate applications are processed during regular business hours.
Please allow 5-10 business days for processing.

Important: - If this application is for someone other than yourself, additional - documentation may be required for verification. + Additional documentation may be required for verification purposes.