diff --git a/.env.local b/.env.local
index 035eccf5..ed13161f 100644
--- a/.env.local
+++ b/.env.local
@@ -1,9 +1,9 @@
// dev
-RELAY_ROOT = https://dev-pedw-ns.servicebus.windows.net/dev-pedw-hc/
-RELAYURI = "dev-pedw-ns.servicebus.windows.net"
-RELAYPATH = "dev-pedw-hc"
-SASKEY = "Ml0Y/S/nfRcmIrHFRkO4jNm2J3iH52TSxPiak7+E1+Y="
-SASKEYNAME = "devpedwnspolicy"
+//RELAY_ROOT = https://dev-pedw-ns.servicebus.windows.net/dev-pedw-hc/
+//RELAYURI = "dev-pedw-ns.servicebus.windows.net"
+//RELAYPATH = "dev-pedw-hc"
+//SASKEY = "Ml0Y/S/nfRcmIrHFRkO4jNm2J3iH52TSxPiak7+E1+Y="
+//SASKEYNAME = "devpedwnspolicy"
PORT= "3000"
@@ -23,11 +23,11 @@ I18N_DOMAIN = "cymru.local"
//preprod
-//RELAY_ROOT = https://pp-pedw-ns.servicebus.windows.net/pp-pedw-hc/
-//RELAYURI = "pp-pedw-ns.servicebus.windows.net"
-//RELAYPATH = "pp-pedw-hc"
-//SASKEY = "JzrOYfMTsGBD1cZHH2nkzqsbfDCqg0brO6jyiIDNVPo="
-//SASKEYNAME = "pppedwnspolicy"
+RELAY_ROOT = https://pp-pedw-ns.servicebus.windows.net/pp-pedw-hc/
+RELAYURI = "pp-pedw-ns.servicebus.windows.net"
+RELAYPATH = "pp-pedw-hc"
+SASKEY = "JzrOYfMTsGBD1cZHH2nkzqsbfDCqg0brO6jyiIDNVPo="
+SASKEYNAME = "pppedwnspolicy"
GOOGLE_TAG_MANAGER = GTM-T78CBC3
diff --git a/components/case.js b/components/case.js
index 317dbd05..3745b241 100644
--- a/components/case.js
+++ b/components/case.js
@@ -27,6 +27,7 @@ const CaseSummary = (props) => {
awaitingSubmission={props.awaitingSubmission}
caseReference={props.caseReference}
currentType={props.currentType}
+ appealTypeID={props.appealTypeID}
searchResultsObj={props.searchResultsObj}
searchDetailsObj={props.searchDetailsObj}
searchString={props.searchString}
diff --git a/components/case/summary.js b/components/case/summary.js
index 22652b39..900adc9e 100644
--- a/components/case/summary.js
+++ b/components/case/summary.js
@@ -14,12 +14,41 @@ import {
setCurrentReference,
} from "../../store/currentView/action";
+import { getFormCollectionByID } from "../utils";
+
+import Pinswg_advertsid from "./summaryTypes/pinswg_advertsid";
+import Pinswg_callinss77id from "./summaryTypes/pinswg_callinss77id";
+import Pinswg_commonlandid from "./summaryTypes/pinswg_commonlandid";
+import Pinswg_communityinfrastructurelevyid from "./summaryTypes/pinswg_communityinfrastructurelevyid";
+import Pinswg_compulsorypurchaseordersid from "./summaryTypes/pinswg_compulsorypurchaseordersid";
+import Pinswg_dnsid from "./summaryTypes/pinswg_dnsid";
+import Pinswg_electricityactid from "./summaryTypes/pinswg_electricityactid";
+import Pinswg_enforcementlistedbuildingconseid from "./summaryTypes/pinswg_enforcementlistedbuildingconseid";
+import Pinswg_enforcementnoticeappeals174id from "./summaryTypes/pinswg_enforcementnoticeappeals174id";
+import Pinswg_environmentalpermittingid from "./summaryTypes/pinswg_environmentalpermittingid";
+import Pinswg_harbourrevisionorderid from "./summaryTypes/pinswg_harbourrevisionorderid";
+import Pinswg_hedgeshedgerowstreepreservatioid from "./summaryTypes/pinswg_hedgeshedgerowstreepreservatioid";
+import Pinswg_householderappealhasid from "./summaryTypes/pinswg_householderappealhasid";
+import Pinswg_lawfuldevelopmentcertificatappid from "./summaryTypes/pinswg_lawfuldevelopmentcertificatappid";
+import Pinswg_ldpid from "./summaryTypes/pinswg_ldpid";
+import Pinswg_listedbuildingandconservationrid from "./summaryTypes/pinswg_listedbuildingandconservationrid";
+import Pinswg_maintenanceoflands217id from "./summaryTypes/pinswg_maintenanceoflands217id";
+import Pinswg_miscellaneouscasewordid from "./summaryTypes/pinswg_miscellaneouscasewordid";
+import Pinswg_nonvalidationid from "./summaryTypes/pinswg_nonvalidationid";
+import Pinswg_planningappeals78id from "./summaryTypes/pinswg_planningappeals78id";
+import Pinswg_planningconditionss73s79id from "./summaryTypes/pinswg_planningconditionss73s79id";
+import Pinswg_planningobligationappeals106id from "./summaryTypes/pinswg_planningobligationappeals106id";
+import Pinswg_rowid from "./summaryTypes/pinswg_rowid";
+import Pinswg_transportandworkactid from "./summaryTypes/pinswg_transportandworkactid";
+import Pinswg_wayleaveid from "./summaryTypes/pinswg_wayleaveid";
+
const CaseSummary = (props) => {
let { t } = useTranslation();
const router = useRouter();
const { locale } = router;
const {
+ appealTypeID,
incidentid,
caseReference,
myCases,
@@ -198,417 +227,8 @@ const CaseSummary = (props) => {
*/}
-
+ {showSummary(casesObj, detailsObj)}
) : (
<>
@@ -650,6 +270,267 @@ const CaseSummary = (props) => {
>
);
+ function showSummary(casesObj, detailsObj) {
+ let appealIDObj =
+ getFormCollectionByID(appealTypeID).PrimaryIdAttribute;
+
+ switch (appealIDObj) {
+ case "pinswg_advertsid":
+ return (
+
+ );
+ break;
+ case "pinswg_callinss77id":
+ return (
+
+ );
+ break;
+ case "pinswg_commonlandid":
+ return (
+
+ );
+ break;
+ case "pinswg_communityinfrastructurelevyid":
+ return (
+
+ );
+ break;
+
+ case "pinswg_compulsorypurchaseordersid":
+ return (
+
+ );
+ break;
+ case "pinswg_dnsid":
+ return (
+
+ );
+ break;
+ case "pinswg_electricityactid":
+ return (
+
+ );
+ break;
+ case "pinswg_enforcementlistedbuildingconseid":
+ return (
+
+ );
+ break;
+ case "pinswg_enforcementnoticeappeals174id":
+ return (
+
+ );
+ break;
+ case "pinswg_environmentalpermittingid":
+ return (
+
+ );
+ break;
+ case "pinswg_harbourrevisionorderid":
+ return (
+
+ );
+ break;
+ case "pinswg_hedgeshedgerowstreepreservatioid":
+ return (
+
+ );
+ break;
+ case "pinswg_householderappealhasid":
+ return (
+
+ );
+ break;
+ case "pinswg_lawfuldevelopmentcertificatappid":
+ return (
+
+ );
+ break;
+ case "pinswg_ldpid":
+ return (
+
+ );
+ break;
+ case "pinswg_listedbuildingandconservationrid":
+ return (
+
+ );
+ break;
+ case "pinswg_maintenanceoflands217id":
+ return (
+
+ );
+ break;
+ case "pinswg_miscellaneouscasewordid":
+ return (
+
+ );
+ break;
+ case "pinswg_nonvalidationid":
+ return (
+
+ );
+ break;
+ case "pinswg_planningappeals78id":
+ return (
+
+ );
+ break;
+
+ case "pinswg_planningconditionss73s79id":
+ return (
+
+ );
+ break;
+
+ case "pinswg_planningobligationappeals106id":
+ return (
+
+ );
+ break;
+ case "pinswg_rowid":
+ return (
+
+ );
+ break;
+ case "pinswg_transportandworkactid":
+ return (
+
+ );
+ break;
+ case "pinswg_wayleaveid":
+ return (
+
+ );
+ break;
+ }
+ }
+
useEffect(() => {
const linkCaseObj = async () => {
let docObj = await getLinkedCases(incidentid).then((data) => {
diff --git a/components/case/summaryTypes/pinswg_advertsid.js b/components/case/summaryTypes/pinswg_advertsid.js
new file mode 100644
index 00000000..12093704
--- /dev/null
+++ b/components/case/summaryTypes/pinswg_advertsid.js
@@ -0,0 +1,357 @@
+import { useRouter } from "next/router";
+import useTranslation from "next-translate/useTranslation";
+import jsonpath from "jsonpath";
+import _ from "lodash";
+import transLookup from "../../../data/lookuptranslations.json";
+
+const Pinswg_advertsid = (props) => {
+ let { t } = useTranslation();
+ const { casesObj, detailsObj, formatDates, linkedCasesList } = props;
+
+ const router = useRouter();
+ const { locale } = router;
+ return (
+
+ );
+};
+
+export default Pinswg_advertsid;
diff --git a/components/case/summaryTypes/pinswg_callinss77id.js b/components/case/summaryTypes/pinswg_callinss77id.js
new file mode 100644
index 00000000..cb7f7869
--- /dev/null
+++ b/components/case/summaryTypes/pinswg_callinss77id.js
@@ -0,0 +1,433 @@
+import { useRouter } from "next/router";
+import useTranslation from "next-translate/useTranslation";
+import jsonpath from "jsonpath";
+import _ from "lodash";
+import transLookup from "../../../data/lookuptranslations.json";
+
+const Pinswg_callinss77id = (props) => {
+ let { t } = useTranslation();
+ const { casesObj, detailsObj, formatDates, linkedCasesList } = props;
+
+ const router = useRouter();
+ const { locale } = router;
+ return (
+
+ );
+};
+
+export default Pinswg_callinss77id;
diff --git a/components/case/summaryTypes/pinswg_commonlandid.js b/components/case/summaryTypes/pinswg_commonlandid.js
new file mode 100644
index 00000000..98bdc6ec
--- /dev/null
+++ b/components/case/summaryTypes/pinswg_commonlandid.js
@@ -0,0 +1,433 @@
+import { useRouter } from "next/router";
+import useTranslation from "next-translate/useTranslation";
+import jsonpath from "jsonpath";
+import _ from "lodash";
+import transLookup from "../../../data/lookuptranslations.json";
+
+const Pinswg_commonlandid = (props) => {
+ let { t } = useTranslation();
+ const { casesObj, detailsObj, formatDates, linkedCasesList } = props;
+
+ const router = useRouter();
+ const { locale } = router;
+ return (
+
+ );
+};
+
+export default Pinswg_commonlandid;
diff --git a/components/case/summaryTypes/pinswg_communityinfrastructurelevyid.js b/components/case/summaryTypes/pinswg_communityinfrastructurelevyid.js
new file mode 100644
index 00000000..3862b3a7
--- /dev/null
+++ b/components/case/summaryTypes/pinswg_communityinfrastructurelevyid.js
@@ -0,0 +1,356 @@
+import { useRouter } from "next/router";
+import useTranslation from "next-translate/useTranslation";
+import jsonpath from "jsonpath";
+import _ from "lodash";
+import transLookup from "../../../data/lookuptranslations.json";
+
+const Pinswg_communityinfrastructurelevyid = (props) => {
+ let { t } = useTranslation();
+ const { casesObj, detailsObj, formatDates, linkedCasesList } = props;
+
+ const router = useRouter();
+ const { locale } = router;
+ return (
+
+ );
+};
+
+export default Pinswg_communityinfrastructurelevyid;
diff --git a/components/case/summaryTypes/pinswg_compulsorypurchaseordersid.js b/components/case/summaryTypes/pinswg_compulsorypurchaseordersid.js
new file mode 100644
index 00000000..cf3fbca1
--- /dev/null
+++ b/components/case/summaryTypes/pinswg_compulsorypurchaseordersid.js
@@ -0,0 +1,415 @@
+import { useRouter } from "next/router";
+import useTranslation from "next-translate/useTranslation";
+import jsonpath from "jsonpath";
+import _ from "lodash";
+import transLookup from "../../../data/lookuptranslations.json";
+
+const Pinswg_compulsorypurchaseordersid = (props) => {
+ let { t } = useTranslation();
+ const { casesObj, detailsObj, formatDates, linkedCasesList } = props;
+
+ const router = useRouter();
+ const { locale } = router;
+ return (
+
+ );
+};
+
+export default Pinswg_compulsorypurchaseordersid;
diff --git a/components/case/summaryTypes/pinswg_dnsid.js b/components/case/summaryTypes/pinswg_dnsid.js
new file mode 100644
index 00000000..e8ee01d2
--- /dev/null
+++ b/components/case/summaryTypes/pinswg_dnsid.js
@@ -0,0 +1,258 @@
+import { useRouter } from "next/router";
+import useTranslation from "next-translate/useTranslation";
+import jsonpath from "jsonpath";
+import _ from "lodash";
+import transLookup from "../../../data/lookuptranslations.json";
+
+const Pinswg_dnsid = (props) => {
+ let { t } = useTranslation();
+ const { casesObj, detailsObj, formatDates, linkedCasesList } = props;
+
+ const router = useRouter();
+ const { locale } = router;
+ return (
+
+ );
+};
+
+export default Pinswg_dnsid;
diff --git a/components/case/summaryTypes/pinswg_electricityactid.js b/components/case/summaryTypes/pinswg_electricityactid.js
new file mode 100644
index 00000000..68a7a70b
--- /dev/null
+++ b/components/case/summaryTypes/pinswg_electricityactid.js
@@ -0,0 +1,433 @@
+import { useRouter } from "next/router";
+import useTranslation from "next-translate/useTranslation";
+import jsonpath from "jsonpath";
+import _ from "lodash";
+import transLookup from "../../../data/lookuptranslations.json";
+
+const Pinswg_electricityactid = (props) => {
+ let { t } = useTranslation();
+ const { casesObj, detailsObj, formatDates, linkedCasesList } = props;
+
+ const router = useRouter();
+ const { locale } = router;
+ return (
+
+ );
+};
+
+export default Pinswg_electricityactid;
diff --git a/components/case/summaryTypes/pinswg_enforcementlistedbuildingconseid.js b/components/case/summaryTypes/pinswg_enforcementlistedbuildingconseid.js
new file mode 100644
index 00000000..0db51c4d
--- /dev/null
+++ b/components/case/summaryTypes/pinswg_enforcementlistedbuildingconseid.js
@@ -0,0 +1,433 @@
+import { useRouter } from "next/router";
+import useTranslation from "next-translate/useTranslation";
+import jsonpath from "jsonpath";
+import _ from "lodash";
+import transLookup from "../../../data/lookuptranslations.json";
+
+const Pinswg_enforcementlistedbuildingconseid = (props) => {
+ let { t } = useTranslation();
+ const { casesObj, detailsObj, formatDates, linkedCasesList } = props;
+
+ const router = useRouter();
+ const { locale } = router;
+ return (
+
+ );
+};
+
+export default Pinswg_enforcementlistedbuildingconseid;
diff --git a/components/case/summaryTypes/pinswg_enforcementnoticeappeals174id.js b/components/case/summaryTypes/pinswg_enforcementnoticeappeals174id.js
new file mode 100644
index 00000000..4bf435d6
--- /dev/null
+++ b/components/case/summaryTypes/pinswg_enforcementnoticeappeals174id.js
@@ -0,0 +1,433 @@
+import { useRouter } from "next/router";
+import useTranslation from "next-translate/useTranslation";
+import jsonpath from "jsonpath";
+import _ from "lodash";
+import transLookup from "../../../data/lookuptranslations.json";
+
+const Pinswg_enforcementnoticeappeals174id = (props) => {
+ let { t } = useTranslation();
+ const { casesObj, detailsObj, formatDates, linkedCasesList } = props;
+
+ const router = useRouter();
+ const { locale } = router;
+ return (
+
+ );
+};
+
+export default Pinswg_enforcementnoticeappeals174id;
diff --git a/components/case/summaryTypes/pinswg_environmentalpermittingid.js b/components/case/summaryTypes/pinswg_environmentalpermittingid.js
new file mode 100644
index 00000000..a93b454a
--- /dev/null
+++ b/components/case/summaryTypes/pinswg_environmentalpermittingid.js
@@ -0,0 +1,433 @@
+import { useRouter } from "next/router";
+import useTranslation from "next-translate/useTranslation";
+import jsonpath from "jsonpath";
+import _ from "lodash";
+import transLookup from "../../../data/lookuptranslations.json";
+
+const Pinswg_environmentalpermittingid = (props) => {
+ let { t } = useTranslation();
+ const { casesObj, detailsObj, formatDates, linkedCasesList } = props;
+
+ const router = useRouter();
+ const { locale } = router;
+ return (
+
+ );
+};
+
+export default Pinswg_environmentalpermittingid;
diff --git a/components/case/summaryTypes/pinswg_harbourrevisionorderid.js b/components/case/summaryTypes/pinswg_harbourrevisionorderid.js
new file mode 100644
index 00000000..8c0256b0
--- /dev/null
+++ b/components/case/summaryTypes/pinswg_harbourrevisionorderid.js
@@ -0,0 +1,433 @@
+import { useRouter } from "next/router";
+import useTranslation from "next-translate/useTranslation";
+import jsonpath from "jsonpath";
+import _ from "lodash";
+import transLookup from "../../../data/lookuptranslations.json";
+
+const Pinswg_harbourrevisionorderid = (props) => {
+ let { t } = useTranslation();
+ const { casesObj, detailsObj, formatDates, linkedCasesList } = props;
+
+ const router = useRouter();
+ const { locale } = router;
+ return (
+
+ );
+};
+
+export default Pinswg_harbourrevisionorderid;
diff --git a/components/case/summaryTypes/pinswg_hedgeshedgerowstreepreservatioid.js b/components/case/summaryTypes/pinswg_hedgeshedgerowstreepreservatioid.js
new file mode 100644
index 00000000..fd460043
--- /dev/null
+++ b/components/case/summaryTypes/pinswg_hedgeshedgerowstreepreservatioid.js
@@ -0,0 +1,433 @@
+import { useRouter } from "next/router";
+import useTranslation from "next-translate/useTranslation";
+import jsonpath from "jsonpath";
+import _ from "lodash";
+import transLookup from "../../../data/lookuptranslations.json";
+
+const Pinswg_hedgeshedgerowstreepreservatioid = (props) => {
+ let { t } = useTranslation();
+ const { casesObj, detailsObj, formatDates, linkedCasesList } = props;
+
+ const router = useRouter();
+ const { locale } = router;
+ return (
+
+ );
+};
+
+export default Pinswg_hedgeshedgerowstreepreservatioid;
diff --git a/components/case/summaryTypes/pinswg_householderappealhasid.js b/components/case/summaryTypes/pinswg_householderappealhasid.js
new file mode 100644
index 00000000..d6b21a93
--- /dev/null
+++ b/components/case/summaryTypes/pinswg_householderappealhasid.js
@@ -0,0 +1,382 @@
+import { useRouter } from "next/router";
+import useTranslation from "next-translate/useTranslation";
+import jsonpath from "jsonpath";
+import _ from "lodash";
+import transLookup from "../../../data/lookuptranslations.json";
+
+const Pinswg_householderappealhasid = (props) => {
+ let { t } = useTranslation();
+ const { casesObj, detailsObj, formatDates, linkedCasesList } = props;
+
+ const router = useRouter();
+ const { locale } = router;
+ return (
+
+ );
+};
+
+export default Pinswg_householderappealhasid;
diff --git a/components/case/summaryTypes/pinswg_lawfuldevelopmentcertificatappid.js b/components/case/summaryTypes/pinswg_lawfuldevelopmentcertificatappid.js
new file mode 100644
index 00000000..b64e23f0
--- /dev/null
+++ b/components/case/summaryTypes/pinswg_lawfuldevelopmentcertificatappid.js
@@ -0,0 +1,433 @@
+import { useRouter } from "next/router";
+import useTranslation from "next-translate/useTranslation";
+import jsonpath from "jsonpath";
+import _ from "lodash";
+import transLookup from "../../../data/lookuptranslations.json";
+
+const Pinswg_lawfuldevelopmentcertificatappid = (props) => {
+ let { t } = useTranslation();
+ const { casesObj, detailsObj, formatDates, linkedCasesList } = props;
+
+ const router = useRouter();
+ const { locale } = router;
+ return (
+
+ );
+};
+
+export default Pinswg_lawfuldevelopmentcertificatappid;
diff --git a/components/case/summaryTypes/pinswg_ldpid.js b/components/case/summaryTypes/pinswg_ldpid.js
new file mode 100644
index 00000000..3188f533
--- /dev/null
+++ b/components/case/summaryTypes/pinswg_ldpid.js
@@ -0,0 +1,433 @@
+import { useRouter } from "next/router";
+import useTranslation from "next-translate/useTranslation";
+import jsonpath from "jsonpath";
+import _ from "lodash";
+import transLookup from "../../../data/lookuptranslations.json";
+
+const Pinswg_ldpid = (props) => {
+ let { t } = useTranslation();
+ const { casesObj, detailsObj, formatDates, linkedCasesList } = props;
+
+ const router = useRouter();
+ const { locale } = router;
+ return (
+
+ );
+};
+
+export default Pinswg_ldpid;
diff --git a/components/case/summaryTypes/pinswg_listedbuildingandconservationrid.js b/components/case/summaryTypes/pinswg_listedbuildingandconservationrid.js
new file mode 100644
index 00000000..785db900
--- /dev/null
+++ b/components/case/summaryTypes/pinswg_listedbuildingandconservationrid.js
@@ -0,0 +1,433 @@
+import { useRouter } from "next/router";
+import useTranslation from "next-translate/useTranslation";
+import jsonpath from "jsonpath";
+import _ from "lodash";
+import transLookup from "../../../data/lookuptranslations.json";
+
+const Pinswg_listedbuildingandconservationrid = (props) => {
+ let { t } = useTranslation();
+ const { casesObj, detailsObj, formatDates, linkedCasesList } = props;
+
+ const router = useRouter();
+ const { locale } = router;
+ return (
+
+ );
+};
+
+export default Pinswg_listedbuildingandconservationrid;
diff --git a/components/case/summaryTypes/pinswg_maintenanceoflands217id.js b/components/case/summaryTypes/pinswg_maintenanceoflands217id.js
new file mode 100644
index 00000000..2e0242fc
--- /dev/null
+++ b/components/case/summaryTypes/pinswg_maintenanceoflands217id.js
@@ -0,0 +1,433 @@
+import { useRouter } from "next/router";
+import useTranslation from "next-translate/useTranslation";
+import jsonpath from "jsonpath";
+import _ from "lodash";
+import transLookup from "../../../data/lookuptranslations.json";
+
+const Pinswg_maintenanceoflands217id = (props) => {
+ let { t } = useTranslation();
+ const { casesObj, detailsObj, formatDates, linkedCasesList } = props;
+
+ const router = useRouter();
+ const { locale } = router;
+ return (
+
+ );
+};
+
+export default Pinswg_maintenanceoflands217id;
diff --git a/components/case/summaryTypes/pinswg_miscellaneouscasewordid.js b/components/case/summaryTypes/pinswg_miscellaneouscasewordid.js
new file mode 100644
index 00000000..5674543f
--- /dev/null
+++ b/components/case/summaryTypes/pinswg_miscellaneouscasewordid.js
@@ -0,0 +1,433 @@
+import { useRouter } from "next/router";
+import useTranslation from "next-translate/useTranslation";
+import jsonpath from "jsonpath";
+import _ from "lodash";
+import transLookup from "../../../data/lookuptranslations.json";
+
+const Pinswg_miscellaneouscasewordid = (props) => {
+ let { t } = useTranslation();
+ const { casesObj, detailsObj, formatDates, linkedCasesList } = props;
+
+ const router = useRouter();
+ const { locale } = router;
+ return (
+
+ );
+};
+
+export default Pinswg_miscellaneouscasewordid;
diff --git a/components/case/summaryTypes/pinswg_nonvalidationid.js b/components/case/summaryTypes/pinswg_nonvalidationid.js
new file mode 100644
index 00000000..a606d545
--- /dev/null
+++ b/components/case/summaryTypes/pinswg_nonvalidationid.js
@@ -0,0 +1,228 @@
+import { useRouter } from "next/router";
+import useTranslation from "next-translate/useTranslation";
+import jsonpath from "jsonpath";
+import _ from "lodash";
+import transLookup from "../../../data/lookuptranslations.json";
+
+const Pinswg_nonvalidationid = (props) => {
+ let { t } = useTranslation();
+ const { casesObj, detailsObj, formatDates, linkedCasesList } = props;
+
+ const router = useRouter();
+ const { locale } = router;
+ return (
+
+ );
+};
+
+export default Pinswg_nonvalidationid;
diff --git a/components/case/summaryTypes/pinswg_planningappeals78id.js b/components/case/summaryTypes/pinswg_planningappeals78id.js
new file mode 100644
index 00000000..9fef7694
--- /dev/null
+++ b/components/case/summaryTypes/pinswg_planningappeals78id.js
@@ -0,0 +1,433 @@
+import { useRouter } from "next/router";
+import useTranslation from "next-translate/useTranslation";
+import jsonpath from "jsonpath";
+import _ from "lodash";
+import transLookup from "../../../data/lookuptranslations.json";
+
+const Pinswg_planningappeals78id = (props) => {
+ let { t } = useTranslation();
+ const { casesObj, detailsObj, formatDates, linkedCasesList } = props;
+
+ const router = useRouter();
+ const { locale } = router;
+ return (
+
+ );
+};
+
+export default Pinswg_planningappeals78id;
diff --git a/components/case/summaryTypes/pinswg_planningconditionss73s79id.js b/components/case/summaryTypes/pinswg_planningconditionss73s79id.js
new file mode 100644
index 00000000..3c87b6c7
--- /dev/null
+++ b/components/case/summaryTypes/pinswg_planningconditionss73s79id.js
@@ -0,0 +1,433 @@
+import { useRouter } from "next/router";
+import useTranslation from "next-translate/useTranslation";
+import jsonpath from "jsonpath";
+import _ from "lodash";
+import transLookup from "../../../data/lookuptranslations.json";
+
+const Pinswg_planningconditionss73s79id = (props) => {
+ let { t } = useTranslation();
+ const { casesObj, detailsObj, formatDates, linkedCasesList } = props;
+
+ const router = useRouter();
+ const { locale } = router;
+ return (
+
+ );
+};
+
+export default Pinswg_planningconditionss73s79id;
diff --git a/components/case/summaryTypes/pinswg_planningobligationappeals106id.js b/components/case/summaryTypes/pinswg_planningobligationappeals106id.js
new file mode 100644
index 00000000..0c42a6cb
--- /dev/null
+++ b/components/case/summaryTypes/pinswg_planningobligationappeals106id.js
@@ -0,0 +1,433 @@
+import { useRouter } from "next/router";
+import useTranslation from "next-translate/useTranslation";
+import jsonpath from "jsonpath";
+import _ from "lodash";
+import transLookup from "../../../data/lookuptranslations.json";
+
+const Pinswg_planningobligationappeals106id = (props) => {
+ let { t } = useTranslation();
+ const { casesObj, detailsObj, formatDates, linkedCasesList } = props;
+
+ const router = useRouter();
+ const { locale } = router;
+ return (
+
+ );
+};
+
+export default Pinswg_planningobligationappeals106id;
diff --git a/components/case/summaryTypes/pinswg_rowid.js b/components/case/summaryTypes/pinswg_rowid.js
new file mode 100644
index 00000000..ebb61f86
--- /dev/null
+++ b/components/case/summaryTypes/pinswg_rowid.js
@@ -0,0 +1,433 @@
+import { useRouter } from "next/router";
+import useTranslation from "next-translate/useTranslation";
+import jsonpath from "jsonpath";
+import _ from "lodash";
+import transLookup from "../../../data/lookuptranslations.json";
+
+const Pinswg_rowid = (props) => {
+ let { t } = useTranslation();
+ const { casesObj, detailsObj, formatDates, linkedCasesList } = props;
+
+ const router = useRouter();
+ const { locale } = router;
+ return (
+
+ );
+};
+
+export default Pinswg_rowid;
diff --git a/components/case/summaryTypes/pinswg_transportandworkactid.js b/components/case/summaryTypes/pinswg_transportandworkactid.js
new file mode 100644
index 00000000..29bad0f6
--- /dev/null
+++ b/components/case/summaryTypes/pinswg_transportandworkactid.js
@@ -0,0 +1,433 @@
+import { useRouter } from "next/router";
+import useTranslation from "next-translate/useTranslation";
+import jsonpath from "jsonpath";
+import _ from "lodash";
+import transLookup from "../../../data/lookuptranslations.json";
+
+const Pinswg_transportandworkactid = (props) => {
+ let { t } = useTranslation();
+ const { casesObj, detailsObj, formatDates, linkedCasesList } = props;
+
+ const router = useRouter();
+ const { locale } = router;
+ return (
+
+ );
+};
+
+export default Pinswg_transportandworkactid;
diff --git a/components/case/summaryTypes/pinswg_wayleaveid.js b/components/case/summaryTypes/pinswg_wayleaveid.js
new file mode 100644
index 00000000..734569b1
--- /dev/null
+++ b/components/case/summaryTypes/pinswg_wayleaveid.js
@@ -0,0 +1,433 @@
+import { useRouter } from "next/router";
+import useTranslation from "next-translate/useTranslation";
+import jsonpath from "jsonpath";
+import _ from "lodash";
+import transLookup from "../../../data/lookuptranslations.json";
+
+const Pinswg_wayleaveid = (props) => {
+ let { t } = useTranslation();
+ const { casesObj, detailsObj, formatDates, linkedCasesList } = props;
+
+ const router = useRouter();
+ const { locale } = router;
+ return (
+
+ );
+};
+
+export default Pinswg_wayleaveid;
diff --git a/components/search/searchresults.js b/components/search/searchresults.js
index 8492c121..bea46654 100644
--- a/components/search/searchresults.js
+++ b/components/search/searchresults.js
@@ -26,7 +26,7 @@ import {
import { useEffect } from "react";
import PaginationControl from "./pagination";
-import { getSearchDetailsPaged } from "../utils";
+import { getSearchDetailsPaged, getFormCollection } from "../utils";
const SearchResults = (props) => {
const {
@@ -104,6 +104,8 @@ const SearchResults = (props) => {
"searchResultsObj",
"incidentid":
item.incidentid,
+ "appealType":
+ item.pinswg_appealcasetype,
});
}}
>
diff --git a/components/utils/index.js b/components/utils/index.js
index ad9fb381..35eaf98b 100644
--- a/components/utils/index.js
+++ b/components/utils/index.js
@@ -17,6 +17,14 @@ export const getFormCollection = (formtype) => {
return collectionName[0];
};
+export const getFormCollectionByID = (appealTypeID) => {
+ const collectionName = jsonpath.query(
+ data,
+ "$..[?(@.appealTypeID =='" + appealTypeID + "')]"
+ );
+ return collectionName[0];
+};
+
/*
* Get the details of a case from the appeal type
* @param String token
diff --git a/data/collections.json b/data/collections.json
index d2daa36d..8a128efc 100644
--- a/data/collections.json
+++ b/data/collections.json
@@ -5,455 +5,520 @@
"LogicalName": "pinswg_planningobligationss106flow",
"PrimaryIdAttribute": "businessprocessflowinstanceid",
"UrlName": "",
- "MetadataId": "efb4c590-19be-eb11-aac4-00224800be9c"
+ "MetadataId": "efb4c590-19be-eb11-aac4-00224800be9c",
+ "appealTypeID": ""
},
{
"LogicalCollectionName": "pinswg_dnsflows",
"LogicalName": "pinswg_dnsflow",
"PrimaryIdAttribute": "businessprocessflowinstanceid",
"UrlName": "",
- "MetadataId": "328e015f-dabe-eb11-aac4-00224800be9c"
+ "MetadataId": "328e015f-dabe-eb11-aac4-00224800be9c",
+ "appealTypeID": ""
},
{
"LogicalCollectionName": "pinswg_harbourrevisionorderflows",
"LogicalName": "pinswg_harbourrevisionorderflow",
"PrimaryIdAttribute": "businessprocessflowinstanceid",
"UrlName": "",
- "MetadataId": "98bbb26e-e7be-eb11-aac4-00224800be9c"
+ "MetadataId": "98bbb26e-e7be-eb11-aac4-00224800be9c",
+ "appealTypeID": ""
},
{
"LogicalCollectionName": "pinswg_transportandworkactflows",
"LogicalName": "pinswg_transportandworkactflow",
"PrimaryIdAttribute": "businessprocessflowinstanceid",
"UrlName": "",
- "MetadataId": "ad4bfc8c-e1be-eb11-aac4-00224800be9c"
+ "MetadataId": "ad4bfc8c-e1be-eb11-aac4-00224800be9c",
+ "appealTypeID": ""
},
{
"LogicalCollectionName": "pinswg_maintenanceoflands127flows",
"LogicalName": "pinswg_maintenanceoflands127flow",
"PrimaryIdAttribute": "businessprocessflowinstanceid",
"UrlName": "",
- "MetadataId": "2b26362c-d3be-eb11-aac4-00224800be9c"
+ "MetadataId": "2b26362c-d3be-eb11-aac4-00224800be9c",
+ "appealTypeID": ""
},
{
"LogicalCollectionName": "pinswg_environmentalpermittingflows",
"LogicalName": "pinswg_environmentalpermittingflow",
"PrimaryIdAttribute": "businessprocessflowinstanceid",
"UrlName": "",
- "MetadataId": "74dd4767-f2be-eb11-aac4-00224800be9c"
+ "MetadataId": "74dd4767-f2be-eb11-aac4-00224800be9c",
+ "appealTypeID": ""
},
{
"LogicalCollectionName": "pinswg_dnses",
"LogicalName": "pinswg_dns",
"PrimaryIdAttribute": "pinswg_dnsid",
"UrlName": "dns",
- "MetadataId": "36f07225-4a82-eb11-aac0-00224800be9c"
+ "MetadataId": "36f07225-4a82-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040011"
},
{
"LogicalCollectionName": "pinswg_planningobligationappeals106s",
"LogicalName": "pinswg_planningobligationappeals106",
"PrimaryIdAttribute": "pinswg_planningobligationappeals106id",
"UrlName": "planningobligationappeals106",
- "MetadataId": "cb8beeae-8f81-eb11-aac0-00224800be9c"
+ "MetadataId": "cb8beeae-8f81-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040003"
},
{
"LogicalCollectionName": "pinswg_planningconditionss73s79s",
"LogicalName": "pinswg_planningconditionss73s79",
"PrimaryIdAttribute": "pinswg_planningconditionss73s79id",
"UrlName": "planningconditionss73s79",
- "MetadataId": "093bf9ff-8d81-eb11-aac0-00224800be9c"
+ "MetadataId": "093bf9ff-8d81-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040001"
},
{
"LogicalCollectionName": "pinswg_rows",
"LogicalName": "pinswg_row",
"PrimaryIdAttribute": "pinswg_rowid",
"UrlName": "row",
- "MetadataId": "4ccc6e93-4f82-eb11-aac0-00224800be9c"
+ "MetadataId": "4ccc6e93-4f82-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040015"
},
{
"LogicalCollectionName": "pinswg_transportandworkacts",
"LogicalName": "pinswg_transportworksact",
"PrimaryIdAttribute": "pinswg_transportandworkactid",
"UrlName": "transportandworkact",
- "MetadataId": "bc3edc4b-7d82-eb11-aac0-00224800be9c"
+ "MetadataId": "bc3edc4b-7d82-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040013"
},
{
"LogicalCollectionName": "pinswg_transportandworkacts",
"LogicalName": "pinswg_transportandworkact",
"PrimaryIdAttribute": "pinswg_transportandworkactid",
"UrlName": "transportandworkact",
- "MetadataId": "bc3edc4b-7d82-eb11-aac0-00224800be9c"
+ "MetadataId": "bc3edc4b-7d82-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040013"
},
{
"LogicalCollectionName": "pinswg_transportandworkacts",
"LogicalName": "pinswg_transportandworksact",
"PrimaryIdAttribute": "pinswg_transportandworkactid",
"UrlName": "transportandworksact",
- "MetadataId": "bc3edc4b-7d82-eb11-aac0-00224800be9c"
+ "MetadataId": "bc3edc4b-7d82-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040013"
},
{
"LogicalCollectionName": "pinswg_wayleaveflows",
"LogicalName": "pinswg_wayleaveflow",
"PrimaryIdAttribute": "businessprocessflowinstanceid",
"UrlName": "",
- "MetadataId": "a28054b9-e3be-eb11-aac4-00224800be9c"
+ "MetadataId": "a28054b9-e3be-eb11-aac4-00224800be9c",
+ "appealTypeID": ""
},
{
"LogicalCollectionName": "pinswg_planningappeals78flows",
"LogicalName": "pinswg_planningappeals78flow",
"PrimaryIdAttribute": "businessprocessflowinstanceid",
"UrlName": "",
- "MetadataId": "ddaebde1-0fbe-eb11-aac4-00224800be9c"
+ "MetadataId": "ddaebde1-0fbe-eb11-aac4-00224800be9c",
+ "appealTypeID": ""
},
{
"LogicalCollectionName": "pinswg_harbourrevisionorders",
"LogicalName": "pinswg_harbourrevisionorder",
"PrimaryIdAttribute": "pinswg_harbourrevisionorderid",
"UrlName": "harbourrevisionorder",
- "MetadataId": "dc8dcd0d-4f82-eb11-aac0-00224800be9c"
+ "MetadataId": "dc8dcd0d-4f82-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040014"
},
{
"LogicalCollectionName": "pinswg_miscellaneouscaseworks",
"LogicalName": "pinswg_miscellaneouscasework",
"PrimaryIdAttribute": "pinswg_miscellaneouscasewordid",
"UrlName": "miscellaneouscasework",
- "MetadataId": "f519aa8e-5782-eb11-aac0-00224800be9c"
+ "MetadataId": "f519aa8e-5782-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040022"
},
{
"LogicalCollectionName": "pinswg_miscellaneouscaseworks",
"LogicalName": "pinswg_misccasework",
"PrimaryIdAttribute": "pinswg_miscellaneouscasewordid",
"UrlName": "miscellaneouscasework",
- "MetadataId": "f519aa8e-5782-eb11-aac0-00224800be9c"
+ "MetadataId": "f519aa8e-5782-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040022"
},
{
"LogicalCollectionName": "pinswg_localdevelopmentplanses",
"LogicalName": "pinswg_localdevelopmentplans",
"PrimaryIdAttribute": "businessprocessflowinstanceid",
"UrlName": "localdevelopmentplans",
- "MetadataId": "38ed3835-c1e0-eb11-aac5-00224800be9c"
+ "MetadataId": "38ed3835-c1e0-eb11-aac5-00224800be9c",
+ "appealTypeID": ""
},
{
"LogicalCollectionName": "pinswg_planningappeals78s",
"LogicalName": "pinswg_planningappeals78",
"PrimaryIdAttribute": "pinswg_planningappeals78id",
"UrlName": "planningappeals78",
- "MetadataId": "8d7f813a-4183-eb11-aac0-00224800be9c"
+ "MetadataId": "8d7f813a-4183-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040000"
},
{
"LogicalCollectionName": "pinswg_enforcementnoticeappealsflow174s",
"LogicalName": "pinswg_enforcementnoticeappealsflow174",
"PrimaryIdAttribute": "businessprocessflowinstanceid",
"UrlName": "enforcementnoticeappealsflow174",
- "MetadataId": "a933cf28-20be-eb11-aac4-00224800be9c"
+ "MetadataId": "a933cf28-20be-eb11-aac4-00224800be9c",
+ "appealTypeID": ""
},
{
"LogicalCollectionName": "pinswg_lawfuldevelopmentcertificates",
"LogicalName": "pinswg_lawfuldevelopmentcertificate",
"PrimaryIdAttribute": "pinswg_lawfuldevelopmentcertificatappid",
"UrlName": "lawfuldevelopmentcertificate",
- "MetadataId": "184e4861-9681-eb11-aac0-00224800be9c"
+ "MetadataId": "184e4861-9681-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040008"
},
{
"LogicalCollectionName": "pinswg_lawfuldevelopmentcertificates",
"LogicalName": "pinswg_lawfuldevelopmentcertificateappeals194195",
"PrimaryIdAttribute": "pinswg_lawfuldevelopmentcertificatappid",
"UrlName": "lawfuldevelopmentcertificateappeals1941",
- "MetadataId": "184e4861-9681-eb11-aac0-00224800be9c"
+ "MetadataId": "184e4861-9681-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040008"
},
{
"LogicalCollectionName": "pinswg_lawfuldevelopmentcertificates",
"LogicalName": "pinswg_lawfuldevelopmentcertificateappeals1941",
"PrimaryIdAttribute": "pinswg_lawfuldevelopmentcertificatappid",
"UrlName": "lawfuldevelopmentcertificate",
- "MetadataId": "184e4861-9681-eb11-aac0-00224800be9c"
+ "MetadataId": "184e4861-9681-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040008"
},
{
"LogicalCollectionName": "pinswg_highhedgestreepreservationflows",
"LogicalName": "pinswg_highhedgestreepreservationflow",
"PrimaryIdAttribute": "businessprocessflowinstanceid",
"UrlName": "",
- "MetadataId": "c365b924-f3be-eb11-aac4-00224800be9c"
+ "MetadataId": "c365b924-f3be-eb11-aac4-00224800be9c",
+ "appealTypeID": ""
},
{
"LogicalCollectionName": "pinswg_householderappealhases",
"LogicalName": "pinswg_householderappealhas",
"PrimaryIdAttribute": "pinswg_householderappealhasid",
"UrlName": "householderappealhas",
- "MetadataId": "a6c728b0-9081-eb11-aac0-00224800be9c"
+ "MetadataId": "a6c728b0-9081-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040004"
},
{
"LogicalCollectionName": "pinswg_enforcementlistedbuildingconservationaps",
"LogicalName": "pinswg_enforcementlistedbuildingconservationap",
"PrimaryIdAttribute": "pinswg_enforcementlistedbuildingconseid",
"UrlName": "enforcementlistedbuildingconservationap",
- "MetadataId": "c697be96-9481-eb11-aac0-00224800be9c"
+ "MetadataId": "c697be96-9481-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040006"
},
{
"LogicalCollectionName": "pinswg_enforcementlistedbuildingconservationaps",
"LogicalName": "pinswg_enforcementlistedbuildingandconservationappeals39",
"PrimaryIdAttribute": "pinswg_enforcementlistedbuildingconseid",
"UrlName": "enforcementlistedbuildingconservationap",
- "MetadataId": "c697be96-9481-eb11-aac0-00224800be9c"
+ "MetadataId": "c697be96-9481-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040006"
},
{
"LogicalCollectionName": "pinswg_enforcementlistedbuildingconservationaps",
"LogicalName": "pinswg_enforcementlistedbuildingandconservationap",
"PrimaryIdAttribute": "pinswg_enforcementlistedbuildingconseid",
"UrlName": "enforcementlistedbuildingconservationap",
- "MetadataId": "c697be96-9481-eb11-aac0-00224800be9c"
+ "MetadataId": "c697be96-9481-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040006"
},
{
"LogicalCollectionName": "pinswg_callinss77s",
"LogicalName": "pinswg_callinss77",
"PrimaryIdAttribute": "pinswg_callinss77id",
"UrlName": "callinss77",
- "MetadataId": "dd309e51-4982-eb11-aac0-00224800be9c"
+ "MetadataId": "dd309e51-4982-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040010"
},
{
"LogicalCollectionName": "pinswg_commonlands",
"LogicalName": "pinswg_commonland",
"PrimaryIdAttribute": "pinswg_commonlandid",
"UrlName": "commonland",
- "MetadataId": "4161a618-5082-eb11-aac0-00224800be9c"
+ "MetadataId": "4161a618-5082-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040016"
},
{
"LogicalCollectionName": "pinswg_advertses",
"LogicalName": "pinswg_adverts",
"PrimaryIdAttribute": "pinswg_advertsid",
"UrlName": "adverts",
- "MetadataId": "0735866b-5482-eb11-aac0-00224800be9c"
+ "MetadataId": "0735866b-5482-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040018"
},
{
"LogicalCollectionName": "pinswg_hedgeshedgerowstreepreservationreplacems",
"LogicalName": "pinswg_hedgeshedgerowstreepreservationreplacem",
"PrimaryIdAttribute": "pinswg_hedgeshedgerowstreepreservatioids",
"UrlName": "hedgeshedgerowstreepreservationreplacem",
- "MetadataId": "60f38fed-5382-eb11-aac0-00224800be9c"
+ "MetadataId": "60f38fed-5382-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040017"
},
{
"LogicalCollectionName": "pinswg_hedgeshedgerowstreepreservationreplacems",
"LogicalName": "pinswg_highhedgestreepreservationordershedgerowstreereplacementnotice",
"PrimaryIdAttribute": "pinswg_hedgeshedgerowstreepreservatioid",
"UrlName": "hedgeshedgerowstreepreservationreplacem",
- "MetadataId": "60f38fed-5382-eb11-aac0-00224800be9c"
+ "MetadataId": "60f38fed-5382-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040017"
},
{
"LogicalCollectionName": "pinswg_hedgeshedgerowstreepreservationreplacems",
"LogicalName": "pinswg_highhedgestreepreservationordershedgero",
"PrimaryIdAttribute": "pinswg_hedgeshedgerowstreepreservatioid",
"UrlName": "hedgeshedgerowstreepreservationreplacem",
- "MetadataId": "60f38fed-5382-eb11-aac0-00224800be9c"
+ "MetadataId": "60f38fed-5382-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040017"
},
{
"LogicalCollectionName": "pinswg_compulsorypurchaseorderses",
"LogicalName": "pinswg_compulsorypurchaseorders",
"PrimaryIdAttribute": "pinswg_compulsorypurchaseordersid",
"UrlName": "compulsorypurchaseorders",
- "MetadataId": "054da4c7-5582-eb11-aac0-00224800be9c"
+ "MetadataId": "054da4c7-5582-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040019"
},
{
"LogicalCollectionName": "pinswg_communityinfrastructurelevys117118119s",
"LogicalName": "pinswg_communityinfrastructurelevys117118119",
"PrimaryIdAttribute": "pinswg_communityinfrastructurelevyid",
"UrlName": "communityinfrastructurelevys117118119",
- "MetadataId": "0c309f3c-4882-eb11-aac0-00224800be9c"
+ "MetadataId": "0c309f3c-4882-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040009"
},
{
"LogicalCollectionName": "pinswg_objectiveconfigs",
"LogicalName": "pinswg_objectiveconfig",
"PrimaryIdAttribute": "pinswg_objectiveconfigid",
"UrlName": "objectiveconfig",
- "MetadataId": "f89ae20c-4777-eb11-aabd-00224800be9c"
+ "MetadataId": "f89ae20c-4777-eb11-aabd-00224800be9c",
+ "appealTypeID": ""
},
{
"LogicalCollectionName": "pinswg_nonvalidations",
"LogicalName": "pinswg_nonvalidation",
"PrimaryIdAttribute": "pinswg_nonvalidationid",
"UrlName": "nonvalidation",
- "MetadataId": "37f31a93-5882-eb11-aac0-00224800be9c"
+ "MetadataId": "37f31a93-5882-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040024"
},
{
"LogicalCollectionName": "pinswg_rightofwayflows",
"LogicalName": "pinswg_rightofwayflow",
"PrimaryIdAttribute": "businessprocessflowinstanceid",
"UrlName": "",
- "MetadataId": "b26c1d43-efbe-eb11-aac4-00224800be9c"
+ "MetadataId": "b26c1d43-efbe-eb11-aac4-00224800be9c",
+ "appealTypeID": ""
},
{
"LogicalCollectionName": "pinswg_caseinvolvements",
"LogicalName": "pinswg_caseinvolvement",
"PrimaryIdAttribute": "pinswg_caseinvolvementid",
"UrlName": "caseinvolvement",
- "MetadataId": "65677cd9-4aae-eb11-aac3-00224800be9c"
+ "MetadataId": "65677cd9-4aae-eb11-aac3-00224800be9c",
+ "appealTypeID": ""
},
{
"LogicalCollectionName": "pinswg_commonlandflows",
"LogicalName": "pinswg_commonlandflow",
"PrimaryIdAttribute": "businessprocessflowinstanceid",
"UrlName": "",
- "MetadataId": "338fac85-e6be-eb11-aac4-00224800be9c"
+ "MetadataId": "338fac85-e6be-eb11-aac4-00224800be9c",
+ "appealTypeID": ""
},
{
"LogicalCollectionName": "pinswg_lawfuldevelopmentcertificates195flows",
"LogicalName": "pinswg_lawfuldevelopmentcertificates195flow",
"PrimaryIdAttribute": "businessprocessflowinstanceid",
"UrlName": "",
- "MetadataId": "0b8f5046-1dbe-eb11-aac4-00224800be9c"
+ "MetadataId": "0b8f5046-1dbe-eb11-aac4-00224800be9c",
+ "appealTypeID": ""
},
{
"LogicalCollectionName": "pinswg_advertisementappealanddiscontinuances",
"LogicalName": "pinswg_advertisementappealanddiscontinuance",
"PrimaryIdAttribute": "businessprocessflowinstanceid",
"UrlName": "advertisementappealanddiscontinuance",
- "MetadataId": "79b9ab3a-f1be-eb11-aac4-00224800be9c"
+ "MetadataId": "79b9ab3a-f1be-eb11-aac4-00224800be9c",
+ "appealTypeID": ""
},
{
"LogicalCollectionName": "pinswg_documenthistories",
"LogicalName": "pinswg_documenthistory",
"PrimaryIdAttribute": "pinswg_documenthistoryid",
"UrlName": "documenthistory",
- "MetadataId": "0d8e78a7-33a3-eb11-aac3-00224800be9c"
+ "MetadataId": "0d8e78a7-33a3-eb11-aac3-00224800be9c",
+ "appealTypeID": ""
},
{
"LogicalCollectionName": "pinswg_documents",
"LogicalName": "pinswg_document",
"PrimaryIdAttribute": "pinswg_documentid",
"UrlName": "documents",
- "MetadataId": "e6cbbbca-026a-eb11-aabb-00224800be9c"
+ "MetadataId": "e6cbbbca-026a-eb11-aabb-00224800be9c",
+ "appealTypeID": ""
},
{
"LogicalCollectionName": "pinswg_electricityactflows",
"LogicalName": "pinswg_electricityactflow",
"PrimaryIdAttribute": "businessprocessflowinstanceid",
"UrlName": "",
- "MetadataId": "699c4318-e3be-eb11-aac4-00224800be9c"
+ "MetadataId": "699c4318-e3be-eb11-aac4-00224800be9c",
+ "appealTypeID": ""
},
{
"LogicalCollectionName": "pinswg_planningconditionss73s79flows",
"LogicalName": "pinswg_planningconditionss73s79flow",
"PrimaryIdAttribute": "businessprocessflowinstanceid",
"UrlName": "",
- "MetadataId": "510154b1-15be-eb11-aac4-00224800be9c"
+ "MetadataId": "510154b1-15be-eb11-aac4-00224800be9c",
+ "appealTypeID": ""
},
{
"LogicalCollectionName": "pinswg_wayleaves",
"LogicalName": "pinswg_wayleave",
"PrimaryIdAttribute": "pinswg_wayleaveid",
"UrlName": "wayleave",
- "MetadataId": "a0652117-5782-eb11-aac0-00224800be9c"
+ "MetadataId": "a0652117-5782-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040021"
},
{
"LogicalCollectionName": "pinswg_listedbuildingandconservationareaconsens",
"LogicalName": "pinswg_listedbuildingandconservationareaconsen",
"PrimaryIdAttribute": "pinswg_listedbuildingandconservationrid",
"UrlName": "listedbuildingandconservationareaconsen",
- "MetadataId": "4cd95405-8f81-eb11-aac0-00224800be9c"
+ "MetadataId": "4cd95405-8f81-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040025"
},
{
"LogicalCollectionName": "pinswg_listedbuildingandconservationareaconsens",
"LogicalName": "pinswg_listedbuildingconservationareaconsent",
"PrimaryIdAttribute": "pinswg_listedbuildingandconservationrid",
"UrlName": "listedbuildingandconservationareaconsen",
- "MetadataId": "4cd95405-8f81-eb11-aac0-00224800be9c"
+ "MetadataId": "4cd95405-8f81-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040025"
},
{
"LogicalCollectionName": "pinswg_callinapplicationss77flows",
"LogicalName": "pinswg_callinapplicationss77flow",
"PrimaryIdAttribute": "businessprocessflowinstanceid",
"UrlName": "",
- "MetadataId": "2a4f3d43-d4be-eb11-aac4-00224800be9c"
+ "MetadataId": "2a4f3d43-d4be-eb11-aac4-00224800be9c",
+ "appealTypeID": ""
},
{
"LogicalCollectionName": "pinswg_transfercodes",
"LogicalName": "pinswg_transfercode",
"PrimaryIdAttribute": "pinswg_transfercodeid",
"UrlName": "transfercode",
- "MetadataId": "a551ad5c-29f5-eb11-aac7-00224800be9c"
+ "MetadataId": "a551ad5c-29f5-eb11-aac7-00224800be9c",
+ "appealTypeID": ""
},
{
"LogicalCollectionName": "pinswg_compulsorypurchaseordersflows",
"LogicalName": "pinswg_compulsorypurchaseordersflow",
"PrimaryIdAttribute": "businessprocessflowinstanceid",
"UrlName": "",
- "MetadataId": "a94f098b-f0be-eb11-aac4-00224800be9c"
+ "MetadataId": "a94f098b-f0be-eb11-aac4-00224800be9c",
+ "appealTypeID": ""
},
{
"LogicalCollectionName": "pinswg_environmentalpermittings",
"LogicalName": "pinswg_environmentalpermitting",
"PrimaryIdAttribute": "pinswg_environmentalpermittingid",
"UrlName": "environmentalpermitting",
- "MetadataId": "62d4aa9a-5682-eb11-aac0-00224800be9c"
+ "MetadataId": "62d4aa9a-5682-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040020"
},
{
"LogicalCollectionName": "pinswg_nonvaidationflows",
"LogicalName": "pinswg_nonvaidationflow",
"PrimaryIdAttribute": "businessprocessflowinstanceid",
"UrlName": "",
- "MetadataId": "e5ca3ceb-c1e0-eb11-aac5-00224800be9c"
+ "MetadataId": "e5ca3ceb-c1e0-eb11-aac5-00224800be9c",
+ "appealTypeID": ""
},
{
"LogicalCollectionName": "pinswg_enforcementnoticeappeals174s",
"LogicalName": "pinswg_enforcementnoticeappeals174",
"PrimaryIdAttribute": "pinswg_enforcementnoticeappeals174id",
"UrlName": "enforcementnoticeappeals174",
- "MetadataId": "930a3cc4-9181-eb11-aac0-00224800be9c"
+ "MetadataId": "930a3cc4-9181-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040005"
},
{
"LogicalCollectionName": "pinswg_ldps",
"LogicalName": "pinswg_ldp",
"PrimaryIdAttribute": "pinswg_ldpid",
"UrlName": "ldp",
- "MetadataId": "af424d4d-5882-eb11-aac0-00224800be9c"
+ "MetadataId": "af424d4d-5882-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040023"
},
{
"LogicalCollectionName": "pinswg_maintenanceoflands217s",
"LogicalName": "pinswg_maintenanceoflands217",
"PrimaryIdAttribute": "pinswg_maintenanceoflands217id",
"UrlName": "maintenanceoflands217",
- "MetadataId": "bb302784-9581-eb11-aac0-00224800be9c"
+ "MetadataId": "bb302784-9581-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040007"
},
{
"LogicalCollectionName": "pinswg_enforcelistbuild39flows",
"LogicalName": "pinswg_enforcelistbuild39flow",
"PrimaryIdAttribute": "businessprocessflowinstanceid",
"UrlName": "",
- "MetadataId": "9423206e-d2be-eb11-aac4-00224800be9c"
+ "MetadataId": "9423206e-d2be-eb11-aac4-00224800be9c",
+ "appealTypeID": ""
},
{
"LogicalCollectionName": "pinswg_householderappealflows",
"LogicalName": "pinswg_householderappealflow",
"PrimaryIdAttribute": "businessprocessflowinstanceid",
"UrlName": "",
- "MetadataId": "330541bd-d5be-eb11-aac4-00224800be9c"
+ "MetadataId": "330541bd-d5be-eb11-aac4-00224800be9c",
+ "appealTypeID": ""
},
{
"LogicalCollectionName": "pinswg_miscellaneouscaseworkflows",
"LogicalName": "pinswg_miscellaneouscaseworkflow",
"PrimaryIdAttribute": "businessprocessflowinstanceid",
"UrlName": "",
- "MetadataId": "87db8649-f4be-eb11-aac4-00224800be9c"
+ "MetadataId": "87db8649-f4be-eb11-aac4-00224800be9c",
+ "appealTypeID": ""
},
{
"LogicalCollectionName": "pinswg_communityinfrastructurelevyflows",
"LogicalName": "pinswg_communityinfrastructurelevyflow",
"PrimaryIdAttribute": "businessprocessflowinstanceid",
"UrlName": "",
- "MetadataId": "92bc1e3d-e0be-eb11-aac4-00224800be9c"
+ "MetadataId": "92bc1e3d-e0be-eb11-aac4-00224800be9c",
+ "appealTypeID": ""
},
{
"LogicalCollectionName": "pinswg_listedbuildconserv20flows",
"LogicalName": "pinswg_listedbuildconserv20flow",
"PrimaryIdAttribute": "businessprocessflowinstanceid",
"UrlName": "",
- "MetadataId": "4c11cbe9-27be-eb11-aac4-00224800be9c"
+ "MetadataId": "4c11cbe9-27be-eb11-aac4-00224800be9c",
+ "appealTypeID": ""
},
{
"LogicalCollectionName": "pinswg_electricityacts",
"LogicalName": "pinswg_electricityact",
"PrimaryIdAttribute": "pinswg_electricityactid",
"UrlName": "electricityact",
- "MetadataId": "6aedaab1-4a82-eb11-aac0-00224800be9c"
+ "MetadataId": "6aedaab1-4a82-eb11-aac0-00224800be9c",
+ "appealTypeID": "846040012"
}
]
}
\ No newline at end of file
diff --git a/pages/case/index.js b/pages/case/index.js
index 84cfcfd5..302b932f 100644
--- a/pages/case/index.js
+++ b/pages/case/index.js
@@ -66,6 +66,9 @@ const Home = (props) => {
currentType={
props.currentView.caseReference.currentType
}
+ appealTypeID={
+ props.currentView.caseReference.appealType
+ }
incidentid={props.currentView.caseReference.incidentid}
/>