Merged PR 1361: uat fixes 080125

Related work items: #12878
This commit is contained in:
Robert Bond
2025-01-09 17:05:36 +00:00
17 changed files with 293 additions and 176 deletions
+8 -2
View File
@@ -1942,12 +1942,18 @@ export const createContainerProxy = (containerName) => {
});
};
export const sendCaseCompleteMessage = async (containerID, caseReference) => {
export const sendCaseCompleteMessage = async (
containerID,
caseReference,
inv
) => {
var queryUrl =
"/api/file/createappealcompletemessage_api?container=" +
containerID +
"&tempcaseref=" +
caseReference;
caseReference +
"&inv=" +
inv;
var config = {
method: "get",
+4 -1
View File
@@ -1029,7 +1029,10 @@ let MakeRepresentation = (props) => {
if (currentView.representationSubmit == true) {
console.log("capacity", currentView.representationCapacity);
console.log("has errors:", props.invalid);
Object.assign(values, { "locale": router.locale });
Object.assign(values, {
"locale": router.locale,
"repComplete": currentView.caseReference.currentReference,
});
props.invalid == false &&
updateRepresentation(values, false, false);
// values.hasOwnProperty("representationDocuments") &&
@@ -339,9 +339,12 @@ export const RenderCondtionalRadioList = ({
className="govuk-input govuk-!-width-one-half"
id={id + "_details"}
name={id + "_details"}
component="input"
component={RenderTextfield}
type="text"
validate={[required]}
errorMsg={t(
"myrepresentations:is-required-label"
)}
/>
</div>
</div>
@@ -788,6 +788,7 @@ let S78_Questionnaire = (props) => {
legend={t(
"myrepresentations:s78-section-question-26"
)}
hint={t("myrepresentations:s78-footnote-one")}
conditionalLabel={t(
"myrepresentations:s78-section-question-26-hint"
)}
@@ -867,7 +868,6 @@ let S78_Questionnaire = (props) => {
legend={t(
"myrepresentations:s78-section-question-29"
)}
hint={t("myrepresentations:s78-footnote-one")}
conditionalLabel={t(
"myrepresentations:s78-section-question-29-hint"
)}
@@ -322,119 +322,169 @@ let RepLPAQuestionnaireCheck_s78 = (props) => {
)}
</>
)}
{_.has(repFormData, "LPAcontactDetails") && (
<>
<div className="govuk-summary-list__row">
<dt className="govuk-summary-list__key">
10. LPA contact for site visit, hearing or inquiry
arrangements:
</dt>
<dd className="govuk-summary-list__value">
<>
<div className="govuk-summary-list__row">
<dt className="govuk-summary-list__key">
10. LPA contact for site visit, hearing or inquiry
arrangements:
</dt>
<dd className="govuk-summary-list__value">
{_.has(repFormData, "LPAcontactDetails") ? (
<div
className="govuk-summary-list-check-ellipsis"
dangerouslySetInnerHTML={{
__html: repFormData.LPAcontactDetails,
}}
/>
</dd>
) : (
"Not entered"
)}
</dd>
<dd className="govuk-summary-list__actions">
<a
className="govuk-link"
href="#"
onClick={() => {
setRepresentationSubmit(false);
setShowQuestionnaireSection(1);
}}
>
{t("common:change-link-label")}
<span className="govuk-visually-hidden">
{" "}
{/* {FieldsTranslations(
<dd className="govuk-summary-list__actions">
<a
className="govuk-link"
href="#"
onClick={() => {
setRepresentationSubmit(false);
setShowQuestionnaireSection(1);
}}
>
{t("common:change-link-label")}
<span className="govuk-visually-hidden">
{" "}
{/* {FieldsTranslations(
rows[0].value
)} */}
</span>
</a>
</dd>
</div>
</>
)}
{_.has(repFormData, "LPAcaseFileAndReps") && (
<>
<div className="govuk-summary-list__row">
<dt className="govuk-summary-list__key">
11. LPA case file and represen- tations
</dt>
</span>
</a>
</dd>
</div>
</>
<dd className="govuk-summary-list__value">
<>
<div className="govuk-summary-list__row">
<dt className="govuk-summary-list__key">
11. LPA case file and represen- tations
</dt>
<dd className="govuk-summary-list__value">
{_.has(repFormData, "LPAcaseFileAndReps") ? (
<div
className="govuk-summary-list-check-ellipsis"
dangerouslySetInnerHTML={{
__html: repFormData.LPAcaseFileAndReps,
}}
/>
</dd>
) : (
"Not entered"
)}
</dd>
<dd className="govuk-summary-list__actions">
<a
className="govuk-link"
href="#"
onClick={() => {
setRepresentationSubmit(false);
setShowQuestionnaireSection(2);
}}
>
{t("common:change-link-label")}
<span className="govuk-visually-hidden">
{" "}
{/* {FieldsTranslations(
<dd className="govuk-summary-list__actions">
<a
className="govuk-link"
href="#"
onClick={() => {
setRepresentationSubmit(false);
setShowQuestionnaireSection(2);
}}
>
{t("common:change-link-label")}
<span className="govuk-visually-hidden">
{" "}
{/* {FieldsTranslations(
rows[0].value
)} */}
</span>
</a>
</dd>
</div>
</>
)}
{_.has(repFormData, "LPAldpAndMap") && (
<>
<div className="govuk-summary-list__row">
<dt className="govuk-summary-list__key">
12. LPAs adopted Local Development Plan and
Proposals Map
</dt>
</span>
</a>
</dd>
</div>
</>
<dd className="govuk-summary-list__value">
<>
<div className="govuk-summary-list__row">
<dt className="govuk-summary-list__key">
12. LPAs adopted Local Development Plan and Proposals
Map
</dt>
<dd className="govuk-summary-list__value">
{_.has(repFormData, "LPAldpAndMap") ? (
<div
className="govuk-summary-list-check-ellipsis"
dangerouslySetInnerHTML={{
__html: repFormData.LPAldpAndMap,
}}
/>
</dd>
) : (
"Not entered"
)}
</dd>
<dd className="govuk-summary-list__actions">
<a
className="govuk-link"
href="#"
onClick={() => {
setRepresentationSubmit(false);
setShowQuestionnaireSection(2);
}}
>
{t("common:change-link-label")}
<span className="govuk-visually-hidden">
{" "}
{/* {FieldsTranslations(
<dd className="govuk-summary-list__actions">
<a
className="govuk-link"
href="#"
onClick={() => {
setRepresentationSubmit(false);
setShowQuestionnaireSection(2);
}}
>
{t("common:change-link-label")}
<span className="govuk-visually-hidden">
{" "}
{/* {FieldsTranslations(
rows[0].value
)} */}
</span>
</a>
</dd>
</div>
</>
)}
</span>
</a>
</dd>
</div>
</>
<>
<div className="govuk-summary-list__row">
<dt className="govuk-summary-list__key">
13. {t("myrepresentations:s78-section-question-13")}
</dt>
<dd className="govuk-summary-list__value">
{_.has(repFormData, "LPAlocalGuidance") ? (
<div
className="govuk-summary-list-check-ellipsis"
dangerouslySetInnerHTML={{
__html: repFormData.LPAlocalGuidance,
}}
/>
) : (
"Not entered"
)}
</dd>
<dd className="govuk-summary-list__actions">
<a
className="govuk-link"
href="#"
onClick={() => {
setRepresentationSubmit(false);
setShowQuestionnaireSection(2);
}}
>
{t("common:change-link-label")}
<span className="govuk-visually-hidden">
{" "}
{/* {FieldsTranslations(
rows[0].value
)} */}
</span>
</a>
</dd>
</div>
</>
{_.has(repFormData, "LPAintentionToSubmitFullStatement") && (
<>
<div className="govuk-summary-list__row">
@@ -472,8 +522,7 @@ let RepLPAQuestionnaireCheck_s78 = (props) => {
<>
<div className="govuk-summary-list__row">
<dt className="govuk-summary-list__key">
15. Is all or part of the site within an Area of
Outstanding Natural Beauty?
15. {t("myrepresentations:s78-section-question-15")}
</dt>
<dd className="govuk-summary-list__value">
@@ -505,7 +554,7 @@ let RepLPAQuestionnaireCheck_s78 = (props) => {
<>
<div className="govuk-summary-list__row">
<dt className="govuk-summary-list__key">
16. {t("myrepresentations:s78-section-question-15")}
16. {t("myrepresentations:s78-section-question-16")}
</dt>
<dd className="govuk-summary-list__value">
@@ -1306,7 +1355,7 @@ let RepLPAQuestionnaireCheck_s78 = (props) => {
<dt className="govuk-summary-list__key">
26. A copy of the applicants certificate confirming
that they notified persons with an interest in the
land?*
land?
</dt>
<dd className="govuk-summary-list__value">
@@ -1332,7 +1381,7 @@ let RepLPAQuestionnaireCheck_s78 = (props) => {
</a>
</dd>
</div>
{repFormData.copyOfApplicantsCertificate == "Yes" && (
{repFormData.copyOfApplicantsCertificate == "No" && (
<div className="govuk-summary-list__row">
<dt className="govuk-summary-list__key">
Evidence
@@ -1401,7 +1450,7 @@ let RepLPAQuestionnaireCheck_s78 = (props) => {
</a>
</dd>
</div>
{repFormData.advertismentGiven == "Yes" && (
{repFormData.advertismentGiven == "No" && (
<div className="govuk-summary-list__row">
<dt className="govuk-summary-list__key">
Evidence
@@ -1470,7 +1519,7 @@ let RepLPAQuestionnaireCheck_s78 = (props) => {
</a>
</dd>
</div>
{repFormData.copyOfLetterOfAppealNotification == "Yes" && (
{repFormData.copyOfLetterOfAppealNotification == "No" && (
<div className="govuk-summary-list__row">
<dt className="govuk-summary-list__key">
Evidence
+72 -56
View File
@@ -187,39 +187,44 @@ const TopThree = (props) => {
<div className="cardModuleDetails">
<div className="cardModuleReference">
<b>{t("myportal:case-reference")}:</b>
<Link
// href="#"
href={{
pathname:
router.locale == "cy"
? "/fymhorth/representation"
: "/myportal/representation",
query: {
case: showTopThreeArr[key].caseRef,
state: "edit",
created: showTopThreeArr[key].repfile_name,
},
}}
className="govuk-link--no-underline"
data-id={index}
onClick={() => {
setCurrentReference({
"ticketnumber":
showTopThreeArr[key].ticketnumber,
"currentReference":
showTopThreeArr[key].caseRef,
"currentType": topThreeType,
"incidentid":
showTopThreeArr[key].incidentID,
"appealType":
showTopThreeArr[key].appealType,
"repDetails": showTopThreeArr[key],
});
isLPA && setRepresentationCapacity("lpa");
}}
>
{showTopThreeArr[key].pinswg_name}
</Link>
{showTopThreeArr[key].hasOwnProperty("repComplete") ? (
<b>{showTopThreeArr[key].pinswg_name}</b>
) : (
<Link
// href="#"
href={{
pathname:
router.locale == "cy"
? "/fymhorth/representation"
: "/myportal/representation",
query: {
case: showTopThreeArr[key].caseRef,
state: "edit",
created:
showTopThreeArr[key].repfile_name,
},
}}
className="govuk-link--no-underline"
data-id={index}
onClick={() => {
setCurrentReference({
"ticketnumber":
showTopThreeArr[key].ticketnumber,
"currentReference":
showTopThreeArr[key].caseRef,
"currentType": topThreeType,
"incidentid":
showTopThreeArr[key].incidentID,
"appealType":
showTopThreeArr[key].appealType,
"repDetails": showTopThreeArr[key],
});
isLPA && setRepresentationCapacity("lpa");
}}
>
{showTopThreeArr[key].pinswg_name}
</Link>
)}
</div>
<div className="cardModuleReference">
<b>{t("myportal:representation-type")}:</b>
@@ -269,30 +274,41 @@ const TopThree = (props) => {
"_pinswg_localplanningauthority_value@OData.Community.Display.V1.FormattedValue"
] || ""}
</div>
{showTopThreeArr[key].hasOwnProperty("repComplete") && (
<div className="cardModuleReference">
<b>
{" "}
{t("myportal:submission-processing-label")}
.....
</b>
</div>
)}
</div>
<div className="">
<button
title={t("case:do-you-want-to-delete-case-label")}
className=" cardModuleRemoveCase govuk-link govuk-link--no-underline govuk-link--inverse "
onClick={() => {
confirm(
t("case:do-you-want-to-delete-case-label") +
showTopThreeArr[key].pinswg_name +
"?\n" +
t(
"case:do-you-want-to-delete-case-disclaimer-label"
)
) &&
deleteRepItem(
props.accountDetails.containerID,
showTopThreeArr[key].pinswg_name,
showTopThreeArr[key].repfile_name
);
}}
>
&mdash;
</button>
</div>
{!showTopThreeArr[key].hasOwnProperty("repComplete") && (
<div className="">
<button
title={t("case:do-you-want-to-delete-case-label")}
className=" cardModuleRemoveCase govuk-link govuk-link--no-underline govuk-link--inverse "
onClick={() => {
confirm(
t("case:do-you-want-to-delete-case-label") +
showTopThreeArr[key].pinswg_name +
"?\n" +
t(
"case:do-you-want-to-delete-case-disclaimer-label"
)
) &&
deleteRepItem(
props.accountDetails.containerID,
showTopThreeArr[key].pinswg_name,
showTopThreeArr[key].repfile_name
);
}}
>
&mdash;
</button>
</div>
)}
</div>
);
});
+6 -2
View File
@@ -7,7 +7,7 @@ import {
View,
} from "@react-pdf/renderer";
import Html from "react-pdf-html";
import { getFormCollectionByID } from "../../components/utils";
import { getFormCollectionByID, bytesToSize } from "../../components/utils";
const styles = StyleSheet.create({
page: {
@@ -1543,7 +1543,11 @@ export const EnforcementQuestionnaire_pdf = ({ docProps }) => {
styles.questionTextMid
}
>
{p.name} - {p.size}
{p.name} -{" "}
{bytesToSize(
p.size
)}{" "}
{"\n"}
</Text>
</View>
);
+4 -2
View File
@@ -10,7 +10,7 @@ import ReactPDF, {
} from "@react-pdf/renderer";
import { createElement } from "react";
import Html from "react-pdf-html";
import { getFormCollectionByID } from "../../components/utils";
import { getFormCollectionByID, bytesToSize } from "../../components/utils";
import transLookupCY from "../../locales/cy/myrepresentations.json";
import transLookupEN from "../../locales/en/myrepresentations.json";
@@ -377,7 +377,9 @@ export const finalComments_pdf = ({ docProps }) => {
styles.questionTextMid
}
>
{p.name} - {p.size}
{p.name} -{" "}
{bytesToSize(p.size)}{" "}
{"\n"}
</Text>
</View>
);
@@ -7,7 +7,7 @@ import {
View,
} from "@react-pdf/renderer";
import Html from "react-pdf-html";
import { getFormCollectionByID } from "../../components/utils";
import { getFormCollectionByID, bytesToSize } from "../../components/utils";
import transLookupCY from "../../locales/cy/myrepresentations.json";
import transLookupEN from "../../locales/en/myrepresentations.json";
@@ -1413,7 +1413,11 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => {
styles.questionTextMid
}
>
{p.name} - {p.size}
{p.name} -{" "}
{bytesToSize(
p.size
)}{" "}
{"\n"}
</Text>
</View>
);
+4 -2
View File
@@ -10,7 +10,7 @@ import ReactPDF, {
} from "@react-pdf/renderer";
import { createElement } from "react";
import Html from "react-pdf-html";
import { getFormCollectionByID } from "../../components/utils";
import { getFormCollectionByID, bytesToSize } from "../../components/utils";
import transLookupCY from "../../locales/cy/myrepresentations.json";
import transLookupEN from "../../locales/en/myrepresentations.json";
@@ -312,7 +312,9 @@ export const other_pdf = ({ docProps }) => {
styles.questionTextMid
}
>
{p.name} - {p.size}
{p.name} -{" "}
{bytesToSize(p.size)}{" "}
{"\n"}
</Text>
</View>
);
+4 -2
View File
@@ -7,7 +7,7 @@ import {
View,
} from "@react-pdf/renderer";
import Html from "react-pdf-html";
import { getFormCollectionByID } from "../../components/utils";
import { getFormCollectionByID, bytesToSize } from "../../components/utils";
import transLookupCY from "../../locales/cy/myrepresentations.json";
import transLookupEN from "../../locales/en/myrepresentations.json";
@@ -371,7 +371,9 @@ export const statement_pdf = ({ docProps }) => {
styles.questionTextMid
}
>
{p.name} - {p.size}
{p.name} -{" "}
{bytesToSize(p.size)}{" "}
{"\n"}
</Text>
</View>
);
@@ -7,7 +7,7 @@ import {
View,
} from "@react-pdf/renderer";
import Html from "react-pdf-html";
import { getFormCollectionByID } from "../../components/utils";
import { getFormCollectionByID, bytesToSize } from "../../components/utils";
const styles = StyleSheet.create({
page: {
@@ -289,7 +289,9 @@ export const writtenStatement_pdf = ({ docProps }) => {
styles.questionTextMid
}
>
{p.name} - {p.size}
{p.name} -{" "}
{bytesToSize(p.size)}{" "}
{"\n"}
</Text>
</View>
);
+8 -7
View File
@@ -77,13 +77,14 @@ export const getSearchDetails = async (searchResultsObj) => {
let formMeta = getFormCollectionByID(
searchDetail.pinswg_appealcasetype
);
console.log(
"------------------- Details: ",
formMeta.LogicalCollectionName,
searchDetail.title,
formMeta.PrimaryIdAttribute,
searchDetail.incidentid
);
// console.log(
// "------------------- Details: ",
// formMeta.LogicalCollectionName,
// searchDetail.title,
// formMeta.PrimaryIdAttribute,
// searchDetail.incidentid,
// searchDetail.pinswg_appealcasetype
// );
if (searchDetail.pinswg_appealcasetype == null) {
detailsArr.push(
+1 -1
View File
@@ -90,7 +90,7 @@
"s78-section-question-24d": "Ni chaiff unrhyw waith datblygu ddigwydd hyd nes y bydd cynllun i alluogi darparu seilwaith band eang all drosglwyddo data ar gyfradd gigadid o ffin y safle ir anheddau/adeiladau a ganiateir drwy hyn wedi cael ei gyflwyno ir awdurdod cynllunio lleol ai gytuno ganddon ysgrifenedig. Bydd y datblygiad yn cael ei gynnal yn unol â'r manylion cymeradwy. Rheswm: Er mwyn cefnogir gwaith o gyflwyno seilwaith cyfathrebu digidol ledled Cymru yn unol â Pholisi 13 Cymrur Dyfodol.",
"s78-section-question-25": "A ydych yn ystyried bod amodau eraill, neu fersiynau diwygiedig o'r amodau safonol uchod, yn angenrheidiol?",
"s78-section-question-25-hint": "Os Ydych, rhestrwch nhw yma neu mewn dogfen atodedig. Dylech gynnwys rhesymau a pholisïau perthnasol y cynllun datblygu. Os ydych yn bwriadu anfon amodau awgrymedig gydach datganiad 4 wythnos, nodwch hyn yma.",
"s78-section-heading-five": "Cyn anfon, ydych chi wedi atodi neu ddarparu dolen we i'r canlynol:",
"s78-section-heading-five": "Cyn llenwi'r ffurflen hon, nodwch a ydych am atodi ffeil(iau) ar gyfer y canlynol, ac os na, darparwch ddolen gwe:",
"s78-section-question-26": "Copi o dystysgrif yr ymgeisydd sy'n cadarnhau ei fod wedi hysbysu pobl sydd â buddiant yn y tir?",
"s78-section-question-26-hint": "Rhowch ddolen we yma os yw ar gael ar-lein. Os Na, rhowch resymau",
"s78-section-question-27": "Tystiolaeth o unrhyw gyhoeddusrwydd a roddwyd i'r cais, gan gynnwys hysbysiadau safle a hysbyseb leol?",
+5 -5
View File
@@ -83,14 +83,14 @@
"s78-section-question-23-hint": "If Yes, specify which and attach any relevant details",
"s78-section-heading-four": "Suggested conditions",
"s78-section-question-24": "Review the following standard conditions and advise whether they would be necessary if permission/consent is granted (not applicable to Advertisement consent proposals)",
"s78-section-question-24a": "The development shall begin not later than five years from the date of this decision. Reason: To comply with Section 91 of the Town and Country Planning Act 1990 / Section 18 of the Town and Country Planning (Listed Building and Conservation Areas) Act 1990.",
"s78-section-question-24b": "The development shall be carried out in accordance with the following approved plans and documents: ............................ Reason: To ensure the development is carried out in accordance with the approved documents, plans and drawings submitted with the application.",
"s78-section-question-24a": "a) The development shall begin not later than five years from the date of this decision. Reason: To comply with Section 91 of the Town and Country Planning Act 1990 / Section 18 of the Town and Country Planning (Listed Building and Conservation Areas) Act 1990.",
"s78-section-question-24b": "b) The development shall be carried out in accordance with the following approved plans and documents: ............................ Reason: To ensure the development is carried out in accordance with the approved documents, plans and drawings submitted with the application.",
"s78-section-question-24b-hint": "If Yes, list the approved plans, documents and drawings here or list them in an attached document",
"s78-section-question-24c": "No development shall take place until a scheme for biodiversity enhancement has been submitted to and agreed in writing by the Local Planning Authority. Development shall be carried out in accordance with the approved details. Reason: In the interests of maintaining and enhancing biodiversity, in accordance with Future Wales Policy 9.",
"s78-section-question-24d": "No development shall take place until a scheme to enable the provision of gigabit capable broadband infrastructure from the site boundary to the dwellings/buildings hereby permitted has been submitted to and agreed in writing by the Local Planning Authority. Development shall be carried out in accordance with the approved details. Reason: To support the roll-out of digital communications infrastructure across Wales in accordance with Policy 13 of Future Wales.",
"s78-section-question-24c": "c) No development shall take place until a scheme for biodiversity enhancement has been submitted to and agreed in writing by the Local Planning Authority. Development shall be carried out in accordance with the approved details. Reason: In the interests of maintaining and enhancing biodiversity, in accordance with Future Wales Policy 9.",
"s78-section-question-24d": "d) No development shall take place until a scheme to enable the provision of gigabit capable broadband infrastructure from the site boundary to the dwellings/buildings hereby permitted has been submitted to and agreed in writing by the Local Planning Authority. Development shall be carried out in accordance with the approved details. Reason: To support the roll-out of digital communications infrastructure across Wales in accordance with Policy 13 of Future Wales.",
"s78-section-question-25": "Do you consider other conditions, or amended versions of the above standard conditions, to be necessary?",
"s78-section-question-25-hint": "If Yes, list them here or in an attached document. Include reasons and relevant development plan policies. If you intend to send suggested conditions alongside your 4 week statement, state this here.",
"s78-section-heading-five": "Before sending, have you attached or provided a web link to the following:",
"s78-section-heading-five": "Before completing this form, indicate if you are going to attach file(s) for the following, if not, provide a web link:",
"s78-section-question-26": "A copy of the applicants certificate confirming that they notified persons with an interest in the land?",
"s78-section-question-26-hint": "Insert weblink here if available online. If No, give reasons",
"s78-section-question-27": "Evidence of any publicity given to the application, including site notices and local advertisement?",
@@ -6,6 +6,7 @@ import {
createBlob,
getCaseBlob,
} from "../../../actions/azurestorage";
import _ from "lodash";
import nextConnect from "next-connect";
import middleware from "../middleware/middleware";
@@ -53,10 +54,28 @@ ApiProxy.get(async (req, res) => {
await createBlob(JSON.stringify(blobProgress), containerName, tempCaseRef)
.then(() => {
//update case.json with lpa ref and description
let combinedAddress =
blobProgress.pinswg_siteaddressline1 +
(!_.isEmpty(blobProgress.pinswg_siteaddressline2)
? ", " + blobProgress.pinswg_siteaddressline2
: "") +
(!_.isEmpty(blobProgress.pinswg_siteaddresstown)
? ", " + blobProgress.pinswg_siteaddresstown
: "");
combinedAddress =
combinedAddress +
", " +
blobProgress.pinswg_siteaddresscounty +
", " +
blobProgress.pinswg_siteaddresspostcode;
Object.assign(caseObj, {
"pinswg_lpareference":
blobProgress.pinswg_lpaapplicationreference,
"description": blobProgress.pinswg_developmentdescription,
"pinswg_caseaddress": combinedAddress,
});
//send update case.json and then create queue message
+4
View File
@@ -114,6 +114,8 @@ const CaseHome = (props) => {
}
showLoginCheck={true}
messagesObj={props.messagesObj}
showFilteredDocs={props.showFilteredDocs}
showMaps={props.showMaps}
/>
</div>
<Footer
@@ -358,6 +360,8 @@ export const getServerSideProps = wrapper.getServerSideProps(
messagesObj: await getCaseMessage(
searchResultsObj.value[0].incidentid
),
showFilteredDocs: process.env.SHOWFILTERDOCS || false,
showMaps: process.env.SHOWMAPS,
},
};
}