Merged PR 1145: removed pinswg_name from appeal json so crm displays correct assigned reference
removed pinswg_name from appeal json so crm displays correct assigned reference Related work items: #11098
This commit is contained in:
@@ -786,8 +786,9 @@ let MakeRepresentation = (props) => {
|
|||||||
{Object.keys(
|
{Object.keys(
|
||||||
props.props.currentView
|
props.props.currentView
|
||||||
.representationCapacity
|
.representationCapacity
|
||||||
).length > 0 &&
|
).length > 0 && (
|
||||||
(savingStatus ? (
|
<div className="govuk-grid-row">
|
||||||
|
{savingStatus ? (
|
||||||
<span className=" progress-save-active">
|
<span className=" progress-save-active">
|
||||||
{router.locale == "cy"
|
{router.locale == "cy"
|
||||||
? "Nôl data"
|
? "Nôl data"
|
||||||
@@ -808,7 +809,8 @@ let MakeRepresentation = (props) => {
|
|||||||
className="govuk-button govuk-button--secondary progress-save "
|
className="govuk-button govuk-button--secondary progress-save "
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
let valuesObj =
|
let valuesObj =
|
||||||
props.props.form[
|
props.props
|
||||||
|
.form[
|
||||||
props.form
|
props.form
|
||||||
].values || {};
|
].values || {};
|
||||||
|
|
||||||
@@ -836,7 +838,10 @@ let MakeRepresentation = (props) => {
|
|||||||
"common:save-exit-button"
|
"common:save-exit-button"
|
||||||
)}
|
)}
|
||||||
</button>
|
</button>
|
||||||
))}
|
)}
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
<div>
|
||||||
{formObj.hasOwnProperty(
|
{formObj.hasOwnProperty(
|
||||||
"representationForm"
|
"representationForm"
|
||||||
) &&
|
) &&
|
||||||
@@ -848,12 +853,14 @@ let MakeRepresentation = (props) => {
|
|||||||
].values.hasOwnProperty(
|
].values.hasOwnProperty(
|
||||||
"representationType"
|
"representationType"
|
||||||
) &&
|
) &&
|
||||||
formObj["representationForm"].values
|
formObj["representationForm"]
|
||||||
|
.values
|
||||||
.representationType ==
|
.representationType ==
|
||||||
"Questionnaire" &&
|
"Questionnaire" &&
|
||||||
whichProgress()}
|
whichProgress()}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
|
|||||||
@@ -81,7 +81,10 @@ const AwaitingSubmissionFromBlob = (props) => {
|
|||||||
"appealComplete"
|
"appealComplete"
|
||||||
) ? (
|
) ? (
|
||||||
<b>
|
<b>
|
||||||
{showTopThreeArr[index].pinswg_name}
|
{
|
||||||
|
showTopThreeArr[index]
|
||||||
|
.appealComplete
|
||||||
|
}
|
||||||
</b>
|
</b>
|
||||||
) : (
|
) : (
|
||||||
<Link
|
<Link
|
||||||
|
|||||||
@@ -35,9 +35,11 @@ ApiProxy.get(async (req, res) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
Object.assign(blobProgress, {
|
Object.assign(blobProgress, {
|
||||||
"appealComplete": true,
|
"appealComplete": blobProgress.pinswg_name,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
delete blobProgress["pinswg_name"];
|
||||||
|
|
||||||
//http: if (hashAPIPath(checkquerypath) == "&hash=" + checkHash) {
|
//http: if (hashAPIPath(checkquerypath) == "&hash=" + checkHash) {
|
||||||
|
|
||||||
await createBlob(JSON.stringify(blobProgress), containerName, tempCaseRef)
|
await createBlob(JSON.stringify(blobProgress), containerName, tempCaseRef)
|
||||||
|
|||||||
Reference in New Issue
Block a user