diff --git a/components/case/representation/index.js b/components/case/representation/index.js index 3058405a..1ced8dde 100644 --- a/components/case/representation/index.js +++ b/components/case/representation/index.js @@ -571,7 +571,7 @@ let MakeRepresentation = (props) => { loggedinUserEmail } = props.props; const incidentID = props.appealType.caseReference.incidentid; - const currentRef = caseReferenceObj.currentReference; + const currentRef = caseReferenceObj.ticketnumber; const containerID = accountDetails.containerID; setSavingStatus(useSaveStatus); @@ -1004,7 +1004,9 @@ let MakeRepresentation = (props) => {
diff --git a/components/case/representation/utils/finalisationBoundary.js b/components/case/representation/utils/finalisationBoundary.js index ef2a0aee..0ed03996 100644 --- a/components/case/representation/utils/finalisationBoundary.js +++ b/components/case/representation/utils/finalisationBoundary.js @@ -58,7 +58,7 @@ export const buildSubmitEnrichedValues = ({ incidentID: caseReferenceObj.incidentid || caseReferenceObj.repDetails.incidentid, - caseRef: caseReferenceObj.currentReference, + caseRef: caseReferenceObj.ticketnumber, casereference: caseReferenceObj.currentReference, pinswg_questionnaireduedate: detailsObj.pinswg_questionnaireduedate, pinswg_endofrepresentationperiod: diff --git a/components/case/summary.js b/components/case/summary.js index 58b5c7b8..9c437248 100644 --- a/components/case/summary.js +++ b/components/case/summary.js @@ -908,7 +908,7 @@ const CaseSummary = (props) => { case: currentType == "searchResultsObj" - ? detailsObj.pinswg_name + ? detailsObj.ticketnumber : currentType == "watchedCases" ? casesObj.pinswg_title diff --git a/locales/cy/myrepresentations.json b/locales/cy/myrepresentations.json index 0a4def41..14f3c79e 100644 --- a/locales/cy/myrepresentations.json +++ b/locales/cy/myrepresentations.json @@ -60,6 +60,8 @@ "rep-check-tandc-para-three": "Cadarnhaf fod pob adran o’r ffurflen hon wedi’u llenwi’n llawn a bod y manylion yn gywir hyd eithaf fy ngwybodaeth.", "rep-check-tandc-para-four": "Cadarnhaf fy mod wedi darllen yr uchod.", "rep-check-tandc-para-five": "Hoffwn lawrlwytho copi o'r holiadur hwn ar gyfer fy nghofnodion", + "rep-check-tandc-para-rep-six": "Hoffwn lawrlwytho copi o'r sylw hwn ar gyfer fy nghofnodion", + "rep-check-tandc-para-consultation-six": "Hoffwn lawrlwytho copi o'r ymateb ymgynghori hwn ar gyfer fy nghofnodion", "rep-complete-heading": "Cyflwyno Sylwadau", "rep-complete-para-one": "Diolch am gyflwyno eich sylw/sylwadau gan ddefnyddio'r Porth Gwaith Achos Apeliadau.", "rep-complete-para-two": "Cofiwch fod angen i ni dderbyn unrhyw ddogfennau ategol o fewn y terfyn amser priodol ar gyfer yr achos. Rhaid i unrhyw beth y byddwch yn ei anfon atom gael ei farcio'n glir gyda chyfeirnod yr achos a chyfeiriad y safle (gan gynnwys y cod post, os yw'n hysbys).", diff --git a/locales/en/myrepresentations.json b/locales/en/myrepresentations.json index 4d942d97..22d44173 100644 --- a/locales/en/myrepresentations.json +++ b/locales/en/myrepresentations.json @@ -61,6 +61,8 @@ "rep-check-tandc-para-three": "I confirm that all sections of this form have been fully completed and that the details are correct to the best of my knowledge.", "rep-check-tandc-para-four": "I confirm I have read the above.", "rep-check-tandc-para-five": "I wish to download a copy of this questionaire for my records", + "rep-check-tandc-para-rep-six": "I wish to download a copy of this representation for my records", + "rep-check-tandc-para-consultation-six": "I wish to download a copy of this consultation response for my records", "rep-complete-heading": "Submission of Representation", "rep-complete-para-one": "Thank you for submitting your representation(s) using the Appeals Casework Portal.", "rep-complete-para-two": "Please remember that any supporting documentation needs to be received by us within the appropriate deadline for the case. Anything you send to us must be clearly marked with the case reference number and the site address (including the postcode, where known).", diff --git a/pages/myportal/representation.js b/pages/myportal/representation.js index 2d7b952d..c5c5eead 100644 --- a/pages/myportal/representation.js +++ b/pages/myportal/representation.js @@ -152,7 +152,7 @@ const RepresentationF = (props) => { props.awaitingSubmission.awaitingSubmission } caseReference={ - props.currentView.caseReference.currentReference + props.currentView.caseReference.ticketnumber } ticketnumber={ props.currentView.caseReference.ticketnumber