Merged PR 1311: updated enforcement listed building using pinswg_startdates
updated enforcement listed building using pinswg_startdates Related work items: #12843
This commit is contained in:
@@ -844,6 +844,26 @@ export const downloadProgressFile = async (
|
||||
return JSON.parse(downloaded.toString());
|
||||
};
|
||||
|
||||
export const downloadCaseFile = async (
|
||||
containerName,
|
||||
blobName,
|
||||
casefolderID
|
||||
) => {
|
||||
console.log(containerName, blobName);
|
||||
|
||||
const containerToken = await createContainerSas(containerName);
|
||||
const sasUrl = `${STORAGE_PATH}/${containerName}?${containerToken}`;
|
||||
const containerClient = new ContainerClient(sasUrl);
|
||||
const blobClient = containerClient.getBlobClient(blobName);
|
||||
const downloadedBlob = await blobClient.download();
|
||||
|
||||
const downloaded = await streamToBuffer(downloadedBlob.readableStreamBody);
|
||||
|
||||
//console.log("Downloaded blob content:", downloaded.toString());
|
||||
|
||||
return JSON.parse(downloaded.toString());
|
||||
};
|
||||
|
||||
export const downloadAllProgressFiles = async (
|
||||
containerName,
|
||||
progressBlobObj
|
||||
|
||||
@@ -31,8 +31,10 @@ const RegisterComplete = (props) => {
|
||||
let accountBody = props.props.props.form.accountRegisterForm.values;
|
||||
let emailAddress =
|
||||
props.props.props.form.accountRegisterForm.values.emailaddress1;
|
||||
|
||||
// was an appellant "pinswg_typeofinvolvement": 846040001,
|
||||
Object.assign(accountBody, {
|
||||
"pinswg_typeofinvolvement": 846040001,
|
||||
"pinswg_typeofinvolvement": 846040061,
|
||||
});
|
||||
|
||||
accountBody = _.omit(accountBody, ["custom_password_check"]);
|
||||
|
||||
@@ -283,7 +283,9 @@ let MakeRepresentation = (props) => {
|
||||
detailsObj.pinswg_endofrepresentationperiod
|
||||
).setHours(23, 59, 59, 999)
|
||||
)))
|
||||
: ((startDate = new Date(detailsObj.pinswg_startdate)),
|
||||
: ((startDate = new Date(
|
||||
detailsObj.pinswg_startdate || detailsObj.pinswg_startdates
|
||||
)),
|
||||
(questionnaireDate = new Date(
|
||||
new Date(detailsObj.pinswg_questionnaireduedate).setHours(
|
||||
23,
|
||||
|
||||
@@ -422,9 +422,14 @@ const CaseSummary = (props) => {
|
||||
_.has(
|
||||
detailsObj,
|
||||
"pinswg_applicationacceptedasvalid"
|
||||
) ||
|
||||
_.has(
|
||||
detailsObj,
|
||||
"pinswg_startdates"
|
||||
)) &&
|
||||
showReps(
|
||||
detailsObj.pinswg_startdate ||
|
||||
detailsObj.pinswg_startdates ||
|
||||
detailsObj.pinswg_applicationacceptedasvalid,
|
||||
detailsObj.pinswg_finalcommentsduedate ||
|
||||
detailsObj.pinswg_endofrepresentationperiod
|
||||
|
||||
@@ -110,9 +110,9 @@ export default function AccessibilityCY() {
|
||||
Ffoniwch:{" "}
|
||||
<a
|
||||
className="govuk-link govuk-link--no-underline govuk-!-font-weight-bold"
|
||||
href="tel:03000 604400"
|
||||
href="tel:0300 123 1590"
|
||||
>
|
||||
03000 604400
|
||||
0300 123 1590
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -105,9 +105,9 @@ export default function AccessibilityEN() {
|
||||
Call:{" "}
|
||||
<a
|
||||
className="govuk-link govuk-link--no-underline govuk-!-font-weight-bold"
|
||||
href="tel:03000 604400"
|
||||
href="tel:0300 123 1590"
|
||||
>
|
||||
03000 604400
|
||||
0300 123 1590
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user