updated involvement with correct contactid

This commit is contained in:
2024-11-20 11:53:43 +00:00
parent 0de6084b71
commit 9acc9437df
@@ -53,7 +53,7 @@ const RepComplete = (props) => {
props.props.currentView.representationMessageSent != true && props.props.currentView.representationMessageSent != true &&
(setRepInvolvment( (setRepInvolvment(
props.props.currentView.caseReference.incidentid, props.props.currentView.caseReference.incidentid,
props.props.props.props.accountDetails.loggedinUserId props.props.props.props.accountDetails.accountDetails.contactid
), ),
sendRepCompleteMessage( sendRepCompleteMessage(
props.props.props.props.accountDetails.containerID, props.props.props.props.accountDetails.containerID,
@@ -68,7 +68,8 @@ const RepComplete = (props) => {
")", ")",
"pinswg_Contact@odata.bind": "pinswg_Contact@odata.bind":
"/contacts(" + "/contacts(" +
props.props.props.props.accountDetails.loggedinUserId + props.props.props.props.accountDetails.accountDetails
.contactid +
")", ")",
"pinswg_appealcasetype": "pinswg_appealcasetype":
props.props.currentView.caseReference.appealType, props.props.currentView.caseReference.appealType,
@@ -92,9 +93,7 @@ const RepComplete = (props) => {
{t("myrepresentations:rep-complete-heading")} {t("myrepresentations:rep-complete-heading")}
</h1> </h1>
<p>{t("myrepresentations:rep-complete-para-one")}</p> <p>{t("myrepresentations:rep-complete-para-one")}</p>
<p>{t("myrepresentations:rep-complete-para-two")}</p> <p>{t("myrepresentations:rep-complete-para-two")}</p>
<p> {t("myrepresentations:rep-complete-para-three")}</p> <p> {t("myrepresentations:rep-complete-para-three")}</p>
</div> </div>
<div className="govuk-grid-row"> <div className="govuk-grid-row">