16503 email for consutlation response update

This commit is contained in:
2025-06-26 06:21:30 +01:00
parent 9e1d091116
commit 53f4b8140a
@@ -36,9 +36,17 @@ const RepComplete = (props) => {
</li>
));
const isSIPS =
props.props.currentView.caseReference.appealType === 846040002;
useEffect(() => {
const reference = "PEDW-REPRESENTATION-COMPLETE";
const templateId = "c49785e7-3217-40b6-b33f-dffc4e58d5c1";
const reference = isSIPS
? "PEDW-CONSULTATION-COMPLETE"
: "PEDW-REPRESENTATION-COMPLETE";
const templateId = isSIPS
? "c3f373ca-df9d-4967-bea0-3ad3a57f8dcc"
: "c49785e7-3217-40b6-b33f-dffc4e58d5c1";
const emailAddress =
props.props.props.props.accountDetails.accountDetails.emailaddress1;
const personalisation = {