A new post office redirection notice request has been submitted.
+A new conductor licence application has been submitted.
diff --git a/schemas/community-sports-programme.json b/schemas/community-sports-programme.json index 1d90381..f1baa36 100644 --- a/schemas/community-sports-programme.json +++ b/schemas/community-sports-programme.json @@ -298,6 +298,14 @@ "subject": "New Community Sports Programme Registration - {{formData.applicant.firstName}} {{formData.applicant.lastName}}", "template": "community-sports-registration" } + }, + { + "type": "email", + "config": { + "to": "{{formData.email}}", + "subject": "Community Sports Programme Registration - Submission Received", + "template": "community-sports-programme-receipt" + } } ] } diff --git a/schemas/conductor-licence.json b/schemas/conductor-licence.json index 89e447b..fe9452c 100644 --- a/schemas/conductor-licence.json +++ b/schemas/conductor-licence.json @@ -244,6 +244,14 @@ "subject": "Apply for conductor licence - {{formData.applicant.firstName}} {{formData.applicant.lastName}}", "template": "apply-for-conductor-licence" } + }, + { + "type": "email", + "config": { + "to": "{{formData.contactDetails.email}}", + "subject": "Conductor Licence Application - Submission Received", + "template": "conductor-licence-receipt" + } } ] } diff --git a/schemas/fire-service-inspection.json b/schemas/fire-service-inspection.json index d74cfb0..f50b2e2 100644 --- a/schemas/fire-service-inspection.json +++ b/schemas/fire-service-inspection.json @@ -118,9 +118,17 @@ "type": "email", "config": { "to": "{{db:request-a-fire-service-inspection:admin_email}}", - "subject": "New Birth Certificate Application - {{formData.applicant.firstName}} {{formData.applicant.lastName}}", + "subject": "New Fire Service Inspection Request - {{formData.applicant.firstName}} {{formData.applicant.lastName}}", "template": "request-a-fire-service-inspection" } + }, + { + "type": "email", + "config": { + "to": "{{formData.applicant.email}}", + "subject": "Fire Service Inspection Request - Submission Received", + "template": "fire-service-inspection-receipt" + } } ] } diff --git a/schemas/get-birth-certificate.json b/schemas/get-birth-certificate.json index 90b4a78..0e94081 100644 --- a/schemas/get-birth-certificate.json +++ b/schemas/get-birth-certificate.json @@ -513,6 +513,14 @@ "subject": "New Birth Certificate Application - {{formData.applicant.firstName}} {{formData.applicant.lastName}}", "template": "birth-certificate" } + }, + { + "type": "email", + "config": { + "to": "{{formData.applicant.email}}", + "subject": "Birth Certificate Application - Submission Received", + "template": "birth-certificate-receipt" + } } ] } diff --git a/schemas/get-death-certificate.json b/schemas/get-death-certificate.json index 7c345b8..31d367a 100644 --- a/schemas/get-death-certificate.json +++ b/schemas/get-death-certificate.json @@ -269,6 +269,14 @@ "subject": "New Death Certificate Application - {{formData.applicant.firstName}} {{formData.applicant.lastName}}", "template": "death-certificate" } + }, + { + "type": "email", + "config": { + "to": "{{formData.applicant.email}}", + "subject": "Death Certificate Application - Submission Received", + "template": "death-certificate-receipt" + } } ] } diff --git a/schemas/get-marriage-certificate.json b/schemas/get-marriage-certificate.json index 51e0deb..680208c 100644 --- a/schemas/get-marriage-certificate.json +++ b/schemas/get-marriage-certificate.json @@ -343,6 +343,14 @@ "subject": "New Marriage Certificate Application - {{formData.applicant.firstName}} {{formData.applicant.lastName}}", "template": "marriage-certificate" } + }, + { + "type": "email", + "config": { + "to": "{{formData.applicant.email}}", + "subject": "Marriage Certificate Application - Submission Received", + "template": "marriage-certificate-receipt" + } } ] } diff --git a/schemas/jobstart-plus-programme.json b/schemas/jobstart-plus-programme.json index ef71ed6..296eae7 100644 --- a/schemas/jobstart-plus-programme.json +++ b/schemas/jobstart-plus-programme.json @@ -508,6 +508,14 @@ "subject": "New JobStart Plus Programme Application - {{formData.applicant.firstName}} {{formData.applicant.lastName}}", "template": "jobstart-plus-programme" } + }, + { + "type": "email", + "config": { + "to": "{{formData.contactDetails.email}}", + "subject": "JobStart Plus Programme Application - Submission Received", + "template": "jobstart-plus-programme-receipt" + } } ] } diff --git a/schemas/permission-to-remove-tree.json b/schemas/permission-to-remove-tree.json index c889fd0..ce54949 100644 --- a/schemas/permission-to-remove-tree.json +++ b/schemas/permission-to-remove-tree.json @@ -145,6 +145,14 @@ "subject": "New Request to remove protected tree - {{formData.applicant.firstName}} {{formData.applicant.lastName}}", "template": "permission-to-remove-tree" } + }, + { + "type": "email", + "config": { + "to": "{{formData.applicant.email}}", + "subject": "Permission to Remove Tree - Submission Received", + "template": "permission-to-remove-tree-receipt" + } } ] } diff --git a/schemas/post-office-redirection-business.json b/schemas/post-office-redirection-business.json index bc81c82..fc5b706 100644 --- a/schemas/post-office-redirection-business.json +++ b/schemas/post-office-redirection-business.json @@ -217,6 +217,14 @@ "subject": "New Request to Redirect my business mail - {{formData.applicant.firstName}} {{formData.applicant.lastName}}", "template": "post-office-redirection-notice" } + }, + { + "type": "email", + "config": { + "to": "{{formData.applicant.email}}", + "subject": "Business Mail Redirection - Submission Received", + "template": "post-office-redirection-business-receipt" + } } ] } diff --git a/schemas/post-office-redirection-deceased.json b/schemas/post-office-redirection-deceased.json index bf28cc4..b102bb3 100644 --- a/schemas/post-office-redirection-deceased.json +++ b/schemas/post-office-redirection-deceased.json @@ -263,6 +263,14 @@ "subject": "New Request to redirect mail for a Deceased Person - {{formData.applicant.firstName}} {{formData.applicant.lastName}}", "template": "post-office-redirection-notice" } + }, + { + "type": "email", + "config": { + "to": "{{formData.applicant.email}}", + "subject": "Deceased Mail Redirection - Submission Received", + "template": "post-office-redirection-deceased-receipt" + } } ] } diff --git a/schemas/post-office-redirection-individual.json b/schemas/post-office-redirection-individual.json index ab5e075..cf88f8b 100644 --- a/schemas/post-office-redirection-individual.json +++ b/schemas/post-office-redirection-individual.json @@ -256,6 +256,14 @@ "subject": "New Request to redirect mail for an individual - {{formData.applicant.firstName}} {{formData.applicant.lastName}}", "template": "post-office-redirection-notice" } + }, + { + "type": "email", + "config": { + "to": "{{formData.applicant.email}}", + "subject": "Mail Redirection - Submission Received", + "template": "post-office-redirection-individual-receipt" + } } ] } diff --git a/schemas/primary-school-textbook-grant.json b/schemas/primary-school-textbook-grant.json index b1e1a52..bd1026b 100644 --- a/schemas/primary-school-textbook-grant.json +++ b/schemas/primary-school-textbook-grant.json @@ -193,9 +193,17 @@ "type": "email", "config": { "to": "{{db:primary-school-textbook-grant:admin_email}}", - "subject": "New Textbook Grant Application - {{formData.beneficiaries.firstName}} {{formData.beneficiaries.lastName}}", + "subject": "New Textbook Grant Application - {{formData.applicant.firstName}} {{formData.applicant.lastName}}", "template": "primary-school-textbook-grant" } + }, + { + "type": "email", + "config": { + "to": "{{formData.applicant.email}}", + "subject": "Primary School Textbook Grant - Submission Received", + "template": "primary-school-textbook-grant-receipt" + } } ] } diff --git a/schemas/reserve-company-name.json b/schemas/reserve-company-name.json index 73f80f8..2c3f87f 100644 --- a/schemas/reserve-company-name.json +++ b/schemas/reserve-company-name.json @@ -173,9 +173,17 @@ "type": "email", "config": { "to": "{{db:reserve-company-name:admin_email}}", - "subject": "New Request to Reserve Society Name - {{formData.applicant.firstName}} {{formData.applicant.lastName}}", + "subject": "New Request to Reserve Company Name - {{formData.applicant.firstName}} {{formData.applicant.lastName}}", "template": "reserve-company-name" } + }, + { + "type": "email", + "config": { + "to": "{{formData.applicant.email}}", + "subject": "Reserve Company Name - Submission Received", + "template": "reserve-company-name-receipt" + } } ] } diff --git a/schemas/reserve-society-name.json b/schemas/reserve-society-name.json index 8a24435..6d47f6f 100644 --- a/schemas/reserve-society-name.json +++ b/schemas/reserve-society-name.json @@ -151,6 +151,14 @@ "subject": "New Request to Reserve Society Name - {{formData.applicant.firstName}} {{formData.applicant.lastName}}", "template": "reserve-society-name" } + }, + { + "type": "email", + "config": { + "to": "{{formData.applicant.email}}", + "subject": "Reserve Society Name - Submission Received", + "template": "reserve-society-name-receipt" + } } ] } diff --git a/schemas/sell-goods-services-beach-park.json b/schemas/sell-goods-services-beach-park.json index 5caa9c6..4f32348 100644 --- a/schemas/sell-goods-services-beach-park.json +++ b/schemas/sell-goods-services-beach-park.json @@ -383,6 +383,14 @@ "subject": "New Request to sell good or services at a beach or park - {{formData.applicant.firstName}} {{formData.applicant.lastName}}", "template": "sell-goods-services-beach-park-notice" } + }, + { + "type": "email", + "config": { + "to": "{{formData.applicant.email}}", + "subject": "Sell Goods/Services at Beach or Park - Submission Received", + "template": "sell-goods-services-beach-park-receipt" + } } ] } diff --git a/src/email/templates/apply-for-conductor-licence.hbs b/src/email/templates/apply-for-conductor-licence.hbs index e6842ce..11f934f 100644 --- a/src/email/templates/apply-for-conductor-licence.hbs +++ b/src/email/templates/apply-for-conductor-licence.hbs @@ -12,122 +12,153 @@ .section-title { color: #2c5282; font-size: 18px; font-weight: bold; margin-bottom: 15px; border-bottom: 2px solid #2c5282; padding-bottom: 5px; } .field { margin-bottom: 12px; } .field-label { font-weight: bold; - color: #4a5568; display: inline-block; width: 200px; } .field-value { - color: #1a202c; } .address-comparison { display: flex; gap: 20px; } - .address-box { flex: 1; border: 1px solid #e2e8f0; padding: 15px; - border-radius: 5px; } .old-address { background-color: #fed7d7; } - .new-address { background-color: #c6f6d5; } .footer { margin-top: 30px; - padding: 20px; background-color: #edf2f7; border-radius: 5px; text-align: - center; font-size: 14px; color: #718096; } + color: #4a5568; display: inline-block; width: 250px; } .field-value { + color: #1a202c; } .footer { margin-top: 30px; padding: 20px; + background-color: #edf2f7; border-radius: 5px; text-align: center; + font-size: 14px; color: #718096; } .endorsement-item { background-color: + #f7fafc; padding: 15px; margin: 10px 0; border-left: 3px solid #2c5282; + border-radius: 3px; }
A new post office redirection notice request has been submitted.
+A new conductor licence application has been submitted.