-
-
-
-
-
- Drag and drop files here or click to select
- files
-
-
-
-
+
+
+
+
+
+
Drag and drop files here or click to select files
-
+ {" "}
+
);
-};
-export default FileUpload;
+}
+
+export default DropzoneComponent;
diff --git a/components/search/searchresults.js b/components/search/searchresults.js
index 43e2e9ed..f92556d9 100644
--- a/components/search/searchresults.js
+++ b/components/search/searchresults.js
@@ -66,8 +66,11 @@ const SearchResults = (props) => {
var resultsArr = searchResultsObj.value || [];
+ const [searchLoaded, setSearchLoaded] = useState(false);
const [showSpinnerState, setShowSpinnerState] = useState(false);
const [selectedOption, setSelectedOption] = useState(10);
+ const [orderByState, setOrderbyState] = useState("createdon");
+ const [fieldSortState, setfieldSortState] = useState("asc");
let spinnerState = () => {
showSpinnerState == true
@@ -75,9 +78,6 @@ const SearchResults = (props) => {
: setShowSpinnerState(true);
};
- const [orderByState, setOrderbyState] = useState("createdon");
- const [fieldSortState, setfieldSortState] = useState("asc");
-
const cookies = parseCookies();
const selectWatchedCase = (loggedInUser, incidentID, appealType) => {
@@ -586,9 +586,13 @@ const SearchResults = (props) => {
};
useEffect(() => {
- if (selectedOption) {
- setShowSpinnerState(true);
- getSearchPageResults(1, orderByState, fieldSortState);
+ if (searchLoaded) {
+ if (selectedOption) {
+ setShowSpinnerState(true);
+ getSearchPageResults(1, orderByState, fieldSortState);
+ }
+ } else {
+ setSearchLoaded(true);
}
}, [selectedOption]);
// console.log(
diff --git a/data/appealtypes.json b/data/appealtypes.json
new file mode 100644
index 00000000..fbe3b2c3
--- /dev/null
+++ b/data/appealtypes.json
@@ -0,0 +1,143 @@
+{
+ "@odata.count": 23,
+ "value": [
+ {
+ "value": "Adverts",
+ "stringmapid": "56a7acff-4d06-ec11-a97f-00224800d374",
+ "organizationid": "d21a831a-4606-ec11-a97f-00224800d374",
+ "attributevalue": 846040018
+ },
+ {
+ "value": "Called In Applications - S77",
+ "stringmapid": "67adedca-a238-ec11-a982-00224800e98c",
+ "organizationid": "d21a831a-4606-ec11-a97f-00224800d374",
+ "attributevalue": 846040010
+ },
+ {
+ "value": "Common Land",
+ "stringmapid": "58a7acff-4d06-ec11-a97f-00224800d374",
+ "organizationid": "d21a831a-4606-ec11-a97f-00224800d374",
+ "attributevalue": 846040016
+ },
+ {
+ "value": "Community Infrastructure Levy - S117, 118, & 119",
+ "stringmapid": "59a7acff-4d06-ec11-a97f-00224800d374",
+ "organizationid": "d21a831a-4606-ec11-a97f-00224800d374",
+ "attributevalue": 846040009
+ },
+ {
+ "value": "Compulsory Purchase Orders",
+ "stringmapid": "5aa7acff-4d06-ec11-a97f-00224800d374",
+ "organizationid": "d21a831a-4606-ec11-a97f-00224800d374",
+ "attributevalue": 846040019
+ },
+ {
+ "value": "Developments of National Significance",
+ "stringmapid": "68adedca-a238-ec11-a982-00224800e98c",
+ "organizationid": "d21a831a-4606-ec11-a97f-00224800d374",
+ "attributevalue": 846040011
+ },
+ {
+ "value": "Electricity Act",
+ "stringmapid": "5ca7acff-4d06-ec11-a97f-00224800d374",
+ "organizationid": "d21a831a-4606-ec11-a97f-00224800d374",
+ "attributevalue": 846040012
+ },
+ {
+ "value": "Enforcement Listed Building and Conservation Appeal - S39",
+ "stringmapid": "5da7acff-4d06-ec11-a97f-00224800d374",
+ "organizationid": "d21a831a-4606-ec11-a97f-00224800d374",
+ "attributevalue": 846040006
+ },
+ {
+ "value": "Enforcement Notice Appeal - S174",
+ "stringmapid": "5ea7acff-4d06-ec11-a97f-00224800d374",
+ "organizationid": "d21a831a-4606-ec11-a97f-00224800d374",
+ "attributevalue": 846040005
+ },
+ {
+ "value": "Environmental Permitting",
+ "stringmapid": "5fa7acff-4d06-ec11-a97f-00224800d374",
+ "organizationid": "d21a831a-4606-ec11-a97f-00224800d374",
+ "attributevalue": 846040020
+ },
+ {
+ "value": "Harbour Revision Order",
+ "stringmapid": "60a7acff-4d06-ec11-a97f-00224800d374",
+ "organizationid": "d21a831a-4606-ec11-a97f-00224800d374",
+ "attributevalue": 846040014
+ },
+ {
+ "value": "High Hedges, Tree Preservation orders, Hedgerows, Tree Replacement Notice.",
+ "stringmapid": "61a7acff-4d06-ec11-a97f-00224800d374",
+ "organizationid": "d21a831a-4606-ec11-a97f-00224800d374",
+ "attributevalue": 846040017
+ },
+ {
+ "value": "Householder and Minor Commercial Appeals - HAS/CAS",
+ "stringmapid": "69adedca-a238-ec11-a982-00224800e98c",
+ "organizationid": "d21a831a-4606-ec11-a97f-00224800d374",
+ "attributevalue": 846040004
+ },
+ {
+ "value": "Lawful Development Certificate Appeal - S194 + 195",
+ "stringmapid": "63a7acff-4d06-ec11-a97f-00224800d374",
+ "organizationid": "d21a831a-4606-ec11-a97f-00224800d374",
+ "attributevalue": 846040008
+ },
+ {
+ "value": "Listed Building and Conservation Area Consent",
+ "stringmapid": "ed844485-1a28-ec11-a980-00224800d374",
+ "organizationid": "d21a831a-4606-ec11-a97f-00224800d374",
+ "attributevalue": 846040025
+ },
+ {
+ "value": "Maintenance of Land - S217",
+ "stringmapid": "66a7acff-4d06-ec11-a97f-00224800d374",
+ "organizationid": "d21a831a-4606-ec11-a97f-00224800d374",
+ "attributevalue": 846040007
+ },
+ {
+ "value": "Non-Validation",
+ "stringmapid": "68a7acff-4d06-ec11-a97f-00224800d374",
+ "organizationid": "d21a831a-4606-ec11-a97f-00224800d374",
+ "attributevalue": 846040024
+ },
+ {
+ "value": "Planning Appeal - S78",
+ "stringmapid": "69a7acff-4d06-ec11-a97f-00224800d374",
+ "organizationid": "d21a831a-4606-ec11-a97f-00224800d374",
+ "attributevalue": 846040000
+ },
+ {
+ "value": "Planning Conditions - S73 + S79",
+ "stringmapid": "6aa7acff-4d06-ec11-a97f-00224800d374",
+ "organizationid": "d21a831a-4606-ec11-a97f-00224800d374",
+ "attributevalue": 846040001
+ },
+ {
+ "value": "Planning Obligation Appeal - S106",
+ "stringmapid": "6ba7acff-4d06-ec11-a97f-00224800d374",
+ "organizationid": "d21a831a-4606-ec11-a97f-00224800d374",
+ "attributevalue": 846040003
+ },
+ {
+ "value": "Rights of Way",
+ "stringmapid": "6aadedca-a238-ec11-a982-00224800e98c",
+ "organizationid": "d21a831a-4606-ec11-a97f-00224800d374",
+ "attributevalue": 846040015
+ },
+ {
+ "value": "Transport and Works Act",
+ "stringmapid": "6da7acff-4d06-ec11-a97f-00224800d374",
+ "organizationid": "d21a831a-4606-ec11-a97f-00224800d374",
+ "attributevalue": 846040013
+ },
+ {
+ "value": "Wayleave",
+ "stringmapid": "6ea7acff-4d06-ec11-a97f-00224800d374",
+ "organizationid": "d21a831a-4606-ec11-a97f-00224800d374",
+ "attributevalue": 846040021
+ }
+ ]
+}
\ No newline at end of file
diff --git a/data/formsxml/adverts.xml b/data/formsxml/adverts.xml
index f931e528..23b48982 100644
--- a/data/formsxml/adverts.xml
+++ b/data/formsxml/adverts.xml
@@ -113,456 +113,462 @@
+
+
+
@@ -752,187 +758,189 @@
+
@@ -1010,6 +1018,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
diff --git a/data/formsxml/callinss77.xml b/data/formsxml/callinss77.xml
index 21b4bf3c..7f743310 100644
--- a/data/formsxml/callinss77.xml
+++ b/data/formsxml/callinss77.xml
@@ -113,456 +113,462 @@
+
+
+
@@ -752,187 +758,189 @@
+
@@ -1010,103 +1018,131 @@
+
+
-
+
-
+
-
+ |
-
+
-
+
|
|
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
-
diff --git a/data/formsxml/commonland.xml b/data/formsxml/commonland.xml
index 82fbdeed..5efd2eff 100644
--- a/data/formsxml/commonland.xml
+++ b/data/formsxml/commonland.xml
@@ -113,224 +113,228 @@
+
+
@@ -520,187 +524,189 @@
+
@@ -870,12 +876,12 @@
|
-
+
|
-
+
|
@@ -979,6 +985,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
diff --git a/data/formsxml/communityinfrastructurelevys117118119.xml b/data/formsxml/communityinfrastructurelevys117118119.xml
index 4a21f29f..7e373c90 100644
--- a/data/formsxml/communityinfrastructurelevys117118119.xml
+++ b/data/formsxml/communityinfrastructurelevys117118119.xml
@@ -113,456 +113,462 @@
+
+
+
@@ -829,179 +835,207 @@
+
+
-
+
-
+
-
+ |
-
+
-
- |
- |
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
+
|
diff --git a/data/formsxml/compulsorypurchaseorders.xml b/data/formsxml/compulsorypurchaseorders.xml
index 798a7e3e..11f07ab1 100644
--- a/data/formsxml/compulsorypurchaseorders.xml
+++ b/data/formsxml/compulsorypurchaseorders.xml
@@ -113,224 +113,228 @@
+
+
@@ -520,187 +524,189 @@
+
@@ -870,7 +876,7 @@
|
-
+
|
@@ -979,6 +985,32 @@
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
diff --git a/data/formsxml/dns.xml b/data/formsxml/dns.xml
index db58d211..b72c564d 100644
--- a/data/formsxml/dns.xml
+++ b/data/formsxml/dns.xml
@@ -122,7 +122,7 @@
-
+
{0ABD7146-7DE5-EB11-AAC5-00224800BE9C}
@@ -509,634 +509,670 @@
+
+
+
+
+
+
-
+
-
+
-
+
-
+ |
-
+
-
-
-
- {962488CB-E39A-436A-B79D-BC5C8FBC3991}
-
-
- false
-
-
- pinswg_pinswg_dns_pinswg_dnsreps_DNSCaseNumber
-
-
- pinswg_dnsreps
-
-
- Fixed
-
-
- false
-
-
- false
-
-
- {962488CB-E39A-436A-B79D-BC5C8FBC3991}
-
-
- false
-
-
- All
-
-
-
- false
-
-
- true
-
-
- 4
-
-
-
+
|
|
-
-
-
-
-
diff --git a/data/formsxml/electricityact.xml b/data/formsxml/electricityact.xml
index 68038bf8..b8bc9939 100644
--- a/data/formsxml/electricityact.xml
+++ b/data/formsxml/electricityact.xml
@@ -119,7 +119,7 @@
-
+
{0ABD7146-7DE5-EB11-AAC5-00224800BE9C}
@@ -506,550 +506,584 @@
+
+
+
+
+
-
+
-
+
-
+ |
-
+
-
- |
- |
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
+
|
diff --git a/data/formsxml/enforcementlistedbuildingconservationap.xml b/data/formsxml/enforcementlistedbuildingconservationap.xml
index 06bb1a91..1155515e 100644
--- a/data/formsxml/enforcementlistedbuildingconservationap.xml
+++ b/data/formsxml/enforcementlistedbuildingconservationap.xml
@@ -113,224 +113,228 @@
+
+
@@ -520,187 +524,189 @@
+
@@ -1017,51 +1023,79 @@
+
+
-
+
-
+
-
+ |
-
+
-
- |
- |
-
- |
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
+
|
diff --git a/data/formsxml/enforcementnoticeappeals174.xml b/data/formsxml/enforcementnoticeappeals174.xml
index a5e4c604..c284a722 100644
--- a/data/formsxml/enforcementnoticeappeals174.xml
+++ b/data/formsxml/enforcementnoticeappeals174.xml
@@ -113,224 +113,228 @@
+
+
@@ -520,187 +524,189 @@
+
@@ -1017,164 +1023,194 @@
+
+
+
-
+
-
+
-
+ |
-
+
-
+
|
|
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
-
diff --git a/data/formsxml/environmentalpermitting.xml b/data/formsxml/environmentalpermitting.xml
index cbe892c0..835d1834 100644
--- a/data/formsxml/environmentalpermitting.xml
+++ b/data/formsxml/environmentalpermitting.xml
@@ -116,224 +116,228 @@
+
+
@@ -523,187 +527,189 @@
+
@@ -873,7 +879,7 @@
|
-
+
|
@@ -982,6 +988,32 @@
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
diff --git a/data/formsxml/harbourrevisionorder.xml b/data/formsxml/harbourrevisionorder.xml
index 9243d346..9f9aa7fe 100644
--- a/data/formsxml/harbourrevisionorder.xml
+++ b/data/formsxml/harbourrevisionorder.xml
@@ -437,558 +437,592 @@
+
+
+
+
+
-
+
-
+
-
+ |
-
+
-
- |
- |
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
+
|
diff --git a/data/formsxml/hedgeshedgerowstreepreservationreplacem.xml b/data/formsxml/hedgeshedgerowstreepreservationreplacem.xml
index a7bfd8ab..6e8fa1b2 100644
--- a/data/formsxml/hedgeshedgerowstreepreservationreplacem.xml
+++ b/data/formsxml/hedgeshedgerowstreepreservationreplacem.xml
@@ -113,224 +113,228 @@
+
+
@@ -520,187 +524,189 @@
+
@@ -870,7 +876,7 @@
|
-
+
|
@@ -979,6 +985,32 @@
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
diff --git a/data/formsxml/householderappealhas.xml b/data/formsxml/householderappealhas.xml
index 47aba019..c3d9666f 100644
--- a/data/formsxml/householderappealhas.xml
+++ b/data/formsxml/householderappealhas.xml
@@ -113,448 +113,454 @@
+
+
+
@@ -744,187 +750,189 @@
+
@@ -1002,103 +1010,131 @@
+
+
-
+
-
+
-
+ |
-
+
-
+
|
|
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
-
diff --git a/data/formsxml/lawfuldevelopmentcertificate.xml b/data/formsxml/lawfuldevelopmentcertificate.xml
index 2741bfb5..f9b4d648 100644
--- a/data/formsxml/lawfuldevelopmentcertificate.xml
+++ b/data/formsxml/lawfuldevelopmentcertificate.xml
@@ -116,456 +116,462 @@
+
+
+
@@ -755,187 +761,189 @@
+
@@ -1013,6 +1021,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
diff --git a/data/formsxml/ldp.xml b/data/formsxml/ldp.xml
index bb22dbf8..cb93afe3 100644
--- a/data/formsxml/ldp.xml
+++ b/data/formsxml/ldp.xml
@@ -427,6 +427,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
diff --git a/data/formsxml/listedbuildingandconservationareaconsen.xml b/data/formsxml/listedbuildingandconservationareaconsen.xml
index e5f79e68..94983947 100644
--- a/data/formsxml/listedbuildingandconservationareaconsen.xml
+++ b/data/formsxml/listedbuildingandconservationareaconsen.xml
@@ -113,379 +113,383 @@
+
+
@@ -744,187 +748,189 @@
+
@@ -1002,6 +1008,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
diff --git a/data/formsxml/maintenanceoflands217.xml b/data/formsxml/maintenanceoflands217.xml
index 06e4e784..0d2b6620 100644
--- a/data/formsxml/maintenanceoflands217.xml
+++ b/data/formsxml/maintenanceoflands217.xml
@@ -116,224 +116,228 @@
+
+
@@ -523,240 +527,244 @@
+
+
@@ -1010,51 +1018,79 @@
+
+
-
+
-
+
-
+ |
-
+
-
- |
- |
-
- |
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
+
|
diff --git a/data/formsxml/miscellaneouscasework.xml b/data/formsxml/miscellaneouscasework.xml
index abf93588..0ff80000 100644
--- a/data/formsxml/miscellaneouscasework.xml
+++ b/data/formsxml/miscellaneouscasework.xml
@@ -1173,6 +1173,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
diff --git a/data/formsxml/nonvalidation.xml b/data/formsxml/nonvalidation.xml
index e9562495..585d7714 100644
--- a/data/formsxml/nonvalidation.xml
+++ b/data/formsxml/nonvalidation.xml
@@ -432,67 +432,95 @@
+
+
-
+
-
+
-
+ |
-
+
-
- |
- |
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
+
|
diff --git a/data/formsxml/planningappeals78.xml b/data/formsxml/planningappeals78.xml
index 01e82816..f6d80273 100644
--- a/data/formsxml/planningappeals78.xml
+++ b/data/formsxml/planningappeals78.xml
@@ -116,456 +116,462 @@
+
+
+
@@ -755,179 +761,181 @@
+
@@ -1005,103 +1013,131 @@
+
+
-
+
-
+
-
+ |
-
+
-
+
|
|
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
-
diff --git a/data/formsxml/planningconditionss73s79.xml b/data/formsxml/planningconditionss73s79.xml
index 9a133dec..26b4a67c 100644
--- a/data/formsxml/planningconditionss73s79.xml
+++ b/data/formsxml/planningconditionss73s79.xml
@@ -113,453 +113,459 @@
+
+
+
@@ -749,187 +755,189 @@
+
@@ -1007,103 +1015,131 @@
+
+
-
+
-
+
-
+ |
-
+
-
+
|
|
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
-
diff --git a/data/formsxml/planningobligationappeals106.xml b/data/formsxml/planningobligationappeals106.xml
index 5fa4fbda..88aa768b 100644
--- a/data/formsxml/planningobligationappeals106.xml
+++ b/data/formsxml/planningobligationappeals106.xml
@@ -113,456 +113,462 @@
+
+
+
@@ -752,187 +758,189 @@
+
@@ -1002,6 +1010,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
diff --git a/data/formsxml/row.xml b/data/formsxml/row.xml
index ac293cb3..5ae7ed0d 100644
--- a/data/formsxml/row.xml
+++ b/data/formsxml/row.xml
@@ -113,224 +113,228 @@
+
+
@@ -520,187 +524,189 @@
+
@@ -979,6 +985,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
diff --git a/data/formsxml/transportandworkact.xml b/data/formsxml/transportandworkact.xml
index 76bf9923..9f9cdc15 100644
--- a/data/formsxml/transportandworkact.xml
+++ b/data/formsxml/transportandworkact.xml
@@ -437,558 +437,592 @@
+
+
+
+
+
-
+
-
+
-
+ |
-
+
-
- |
- |
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
+
|
diff --git a/data/formsxml/wayleave.xml b/data/formsxml/wayleave.xml
index c17a5141..62a82510 100644
--- a/data/formsxml/wayleave.xml
+++ b/data/formsxml/wayleave.xml
@@ -113,224 +113,228 @@
+
+
@@ -520,195 +524,197 @@
+
@@ -878,7 +884,7 @@
|
-
+
|
@@ -987,6 +993,32 @@
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
diff --git a/data/lookups.txt b/data/lookups.txt
deleted file mode 100644
index 1445a2d1..00000000
--- a/data/lookups.txt
+++ /dev/null
@@ -1,290 +0,0 @@
-(a) That planning permission should be granted for what is alleged in the notice.
-(A00) Agriculture, Fisheries and Forestry – Miscellaneous Agriculture, Fisheries and Forestry Uses
-(A10) Agriculture, Fisheries and Forestry – Farming Activity (Inc Crop Production, Keeping Livestock For Food, Wool, Skin, Fur or Farming)
-(A11) Agriculture, Fisheries and Forestry – Intensive Livestock Unit
-(A12) Agriculture, Fisheries and Forestry – Keeping/Stabling Of Farm Animals (Cattle Shed etc)
-(A13) Agriculture, Fisheries and Forestry – Crop Storage, Barn, Granary, Oasthouse
-(A14) Agriculture, Fisheries and Forestry – Silo
-(A15) Agriculture, Fisheries and Forestry – Other Agricultural Storage
-(A16) Agriculture, Fisheries and Forestry – Glasshouse, Market Garden, Nursery (Inc Polythene Tunnels).
-(A17) Agriculture, Fisheries and Forestry – Dairy, Milk Cooler
-(A20) Agriculture, Fisheries and Forestry – Keeping of Non-Farm Livestock (eg Pets, Those Kept For Show, Recreation, Conservation)
-(A21) Agriculture, Fisheries and Forestry – Stabling/Keeping Of Non-Farm Horses
-(A22) Agriculture, Fisheries and Forestry – Kennel, Cattery, Quarantine Centre
-(A23) Agriculture, Fisheries and Forestry – Zoo, Safari Park, Aquaria
-(A24) Agriculture, Fisheries and Forestry – Veterinary Surgery
-(A30) Agriculture, Fisheries and Forestry – Fish Farming
-(A40) Agriculture, Fisheries and Forestry – Slaughterhouse, Abattoir
-(A50) Agriculture, Fisheries and Forestry – Reclamation Of Land To Agriculture
-(A60) Agriculture, Fisheries and Forestry – Woodland, Forestry, Tree Preservation
-(A70) Agriculture, Fisheries and Forestry – Allotment Garden
-(A80) Agriculture, Fisheries and Forestry – Nature Reserve/Sanctuary
-(A82) Agriculture, Fisheries and Forestry – Site Of Special Scientific Interest
-(A83) Agriculture, Fisheries and Forestry – Apiary/Bee-Keeping, Aviary
-(b) That the breach of control alleged in the enforcement notice has not occurred as a matter of fact.
-(c) That there has not been a breach of planning control (for example because permission has already been granted or it is “permitted development”).
-(C00) Community, Education and Defence services – Miscellaneous Community, Education And Defence Uses
-(C10) Community, Education and Defence services – Health Care Facility
-(C11) Community, Education and Defence services – Hospital, Diagnosis/Treatment Centre, Mental Institution
-(C12) Community, Education and Defence services – Surgery (Doctor, Dentist, Chiropodist)
-(C13) Community, Education and Defence services – Opticians Premises
-(C14) Community, Education and Defence services – Nursing Home
-(C20) Community, Education and Defence services – Non-Medical Residential Institution
-(C21) Community, Education and Defence services – Children's Home
-(C22) Community, Education and Defence services – Old People’s Home
-(C23) Community, Education and Defence services – Home For People With Disabilities
-(C24) Community, Education and Defence services – Prison, Place Of Detention
-(C30) Community, Education and Defence services – School, College, Research Institution
-(C31) Community, Education and Defence services – Playgroup, Creche, Childrens Nursery
-(C40) Community, Education and Defence services – Place Of Worship
-(C50) Community, Education and Defence services – Place Of Assembly, Hall, Community Centre, Scout Hut
-(C60) Community, Education and Defence services – Courts
-(C70) Community, Education and Defence services – Military And Civil Defence And Protection
-(C71) Community, Education and Defence services – Military Defence Establishment (RAF, RN, Army), Barrack, Fortification
-(C72) Community, Education and Defence services – Civil Defence Facility, Fall-Out Shelter
-(C73) Community, Education and Defence services – Fire, Coastguard, Police, Ambulance Station
-(C74) Community, Education and Defence services – Sea And River Defence Works
-(d) That, at the time the enforcement notice was issued, it was too late to take enforcement action against the matters stated in the notice.
-(e) The notice was not properly served on everyone with an interest in the land.
-(f) The steps required to comply with the requirements of the notice are excessive, and lesser steps would overcome the objections.
-(F00) Offices, Studios – Miscellaneous Office Uses
-(F10) Offices, Studios – Specified Local Service
-(F11) Offices, Studios – Building Society Branch/Bank, Cash Dispenser
-(F12) Offices, Studios – Central And Local Government Office
-(F13) Offices, Studios – Employment Agency
-(F14) Offices, Studios – Estate Agent
-(F15) Offices, Studios – Insurance Office
-(F16) Offices, Studios – Lawyer/Solicitors Office
-(F17) Offices, Studios – Taxi Control Office
-(F20) Offices, Studios – Studio
-(F21) Offices, Studios – Artists Studio (inc Tattoo Artist)
-(F22) Offices, Studios – Photographic Studio
-(F23) Offices, Studios – Television Studio
-(F24) Offices, Studios – Sound Recording Studio
-(F30) Offices, Studios – Business Centre/Park
-(F31) Offices, Studios – Conference Centre
-(g) The time given to comply with the notice is too short.
-(H00) Housing and Residential development – Miscellaneous Residential Uses
-(H10) Housing and Residential development – Permanent Dwellings
-(H11) Housing and Residential development – Small Homes (1 Bed, Small 2 Bed, Studio Homes etc)
-(H12) Housing and Residential development – Agricultural Workers Dwelling
-(H13) Housing and Residential development – Flat, Maisonette, Multi-Occupation
-(H14) Housing and Residential development – Permanent Residential Caravan/Mobile Home
-(H15) Housing and Residential development – Houseboat
-(H16) Housing and Residential development – Conversion of Agricultural Buildings Into Dwellings
-(H17) Housing and Residential development – Dependant Relative Annex/Flat
-(H20) Housing and Residential development – Householder Development (Alteration/Conversion Within Curtilage ie Wall, Garage, Swimming Pool)
-(H21) Housing and Residential development – Residential Extensions (Number of Rooms Or Size Increased)
-(H30) Housing and Residential development – Communal Accommodation
-(H31) Housing and Residential development – Hotel, Boarding House, Guesthouse
-(H32) Housing and Residential development – Hostel, Halls of Residence, Bail Hostel
-(H33) Housing and Residential development – Warden Assisted Sheltered Accommodation
-(H40) Housing and Residential development – Temporary Dwellings
-(H41) Housing and Residential development – Gypsy/Travellers Encampment
-(H42) Housing and Residential development – Holiday Chalet/Flat
-(H43) Housing and Residential development – Travelling Showman's Winter Quarters
-(H44) Housing and Residential development – Temporary Residential Caravans And Mobile Homes
-(L00) Leisure and Recreation – Miscellaneous Leisure Uses
-(L10) Leisure and Recreation – Indoor Sports Facility (Sports/Leisure Centre)
-(L11) Leisure and Recreation – Squash Court, Badminton Court, Indoor Tennis Court
-(L12) Leisure and Recreation – Sports Hall, Gymnasium
-(L14 ) Leisure and Recreation – Covered Swimming Pool
-(L15) Leisure and Recreation – Billiard And Snooker Centre
-(L20) Leisure and Recreation – Museum, Library, Gallery
-(L30) Leisure and Recreation – Amusements And Entertainment
-(L31) Leisure and Recreation – Amusement Arcade/Centre
-(L32) Leisure and Recreation – Betting Office
-(L33) Leisure and Recreation – Bingo Hall
-(L34) Leisure and Recreation – Casino, Dance Hall, Nightclub, Sports/Social Club
-(L35) Leisure and Recreation – Cinema, Theatre, Concert/Exhibition Hall, Visitors Centre
-(L36) Leisure and Recreation – Funfair
-(L37) Leisure and Recreation – Sex Industry (exc Sex Shops)
-(L38) Leisure and Recreation – Dance School, School Of Performing Arts
-(L40) Leisure and Recreation – Outdoor Sports Facilities
-(L41) Leisure and Recreation – Buildings Associated With Outdoor Recreation
-(L42) Leisure and Recreation – Golf Course, Driving Range
-(L43) Leisure and Recreation – Motor Sport (inc Powered Models)
-(L44) Leisure and Recreation – Riding School
-(L45) Leisure and Recreation – Rifle Range, Clay Pigeon Shoot
-(L46) Leisure and Recreation – Sports ground, Playing Field, Race Track
-(L47) Leisure and Recreation – Sports Stadium, Arena
-(L48) Leisure and Recreation – Open Air Swimming Pool
-(L49) Leisure and Recreation – Outdoor Tennis Court
-(L50) Leisure and Recreation – Other Recreational Land Uses
-(L51) Leisure and Recreation – Botanical Garden, Park, Picnic Site
-(L52) Leisure and Recreation – Leisure Plot (Land Used For Leisure But Not A Domestic Garden Or Allotment)
-(L53) Leisure and Recreation – National Heritage Site (inc Ancient Monument, Stately Home, Memorial)
-(L54) Leisure and Recreation – Children's Play Area
-(L60) Leisure and Recreation – Water Sport
-(L61) Leisure and Recreation – Marina, Boat mooring, Boathouse
-(L62) Leisure and Recreation – Angling And Fishing Activities
-(L70) Leisure and Recreation – Caravans And Camping
-(L71) Leisure and Recreation – Touring Caravan Site
-(L72) Leisure and Recreation – Seasonal Holiday Caravan Site
-(L73) Leisure and Recreation – Camp Site (Tents)
-(M00) Mineral extraction/exploration (Inc Geological exploration) - Miscellaneous Mineral Development
-(M10) Mineral extraction/exploration (Inc Geological exploration) - Surface Mineral Extraction
-(M11) Mineral extraction/exploration (Inc Geological exploration) - Sand And Gravel Extraction
-(M12) Mineral extraction/exploration (Inc Geological exploration) - Open Cast Coal, Peat
-(M13) Mineral extraction/exploration (Inc Geological exploration) - Clays (Brick, Brick Earth, China, Ball)
-(M14) Mineral extraction/exploration (Inc Geological exploration) - Fullers Earth
-(M15) Mineral extraction/exploration (Inc Geological exploration) - Sedimentary Rock (Limestone etc)
-(M16) Mineral extraction/exploration (Inc Geological exploration) - Igneous/Metamorphic Rock
-(M17) Mineral extraction/exploration (Inc Geological exploration) - Celestite
-(M18) Mineral extraction/exploration (Inc Geological exploration) - Metalliferous Minerals
-(M19) Mineral extraction/exploration (Inc Geological exploration) - Other Veined Surface Mined Minerals (Fluorspar, Barytes)
-(M20) Mineral extraction/exploration (Inc Geological exploration) - Underground Mineral Extraction
-(M21) Mineral extraction/exploration (Inc Geological exploration) - Coal (Mined Underground)
-(M22) Mineral extraction/exploration (Inc Geological exploration) - Potash
-(M23) Mineral extraction/exploration (Inc Geological exploration) - Anhydrite
-(M24) Mineral extraction/exploration (Inc Geological exploration) - Gypsum
-(M25) Mineral extraction/exploration (Inc Geological exploration) - Limestone
-(M26) Mineral extraction/exploration (Inc Geological exploration) - Metalliferous Minerals (Tungsten, Tin etc)
-(M27) Mineral extraction/exploration (Inc Geological exploration) - Other Veined Underground Mined Minerals (Fluorspar, Barytes)
-(M28) Mineral extraction/exploration (Inc Geological exploration) - Oil, Gas
-(M30) Mineral extraction/exploration (Inc Geological exploration) - Disposal Of Spoil From Mineral Working
-(M40) Mineral extraction/exploration (Inc Geological exploration) - Mineral Handling And Processing Installation
-(M50) Mineral extraction/exploration (Inc Geological exploration) - Winning And Working Of Minerals For Agriculture (GDO Class VI)
-(M60) Mineral extraction/exploration (Inc Geological exploration) - Filling And Restoration Of Mineral Working
-(M61) Mineral extraction/exploration (Inc Geological exploration) - Landfill
-(M70) Mineral extraction/exploration (Inc Geological exploration) - Geological Exploration
-(M71) Mineral extraction/exploration (Inc Geological exploration) - Exploration For Oil, Gas
-(N00) Industry – Miscellaneous Industrial Uses
-(N10) Industry – Light Industry (exc Science Labs)
-(N20) Industry – General Industry (exc Science Parks)
-(N21) Industry – Vehicle Repairs
-(N30) Industry – Science Park (Science, Technology, Research)
-(N31) Industry – Laboratory
-(N40) Industry – Special Industry (As Defined In Use Classes Order)
-(N41) Industry – Alkali Processing
-(N42) Industry – Metal Processing (Smelting, Galvanising etc)
-(N43) Industry – Brick/Cement Production
-(N44) Industry – Chemical Processing (Cellulose, Rubber etc)
-(N45) Industry – Animal Based Processing (Glue, Soap, Tripe etc)
-(N50) Industry – Disposal Of Industrial Waste
-(N51) Industry – Scrapyard
-(N60) Industry – Industrial Archaeology
-(N61) Industry – Windmill, Watermill
-(S00) Shop, Retail and Associated uses – Miscellaneous Shops And Associated Uses
-(S01) Shop, Retail and Associated uses – Retail Store/Warehouse (Where Neither Floor Space Nor Site Area Is Provided)
-(S10) Shop, Retail and Associated uses – Retail Store/Warehouse (Under 5,000 sq m Floor Space Or Less Than 1 Hectare Site Area)
-(S11) Shop, Retail and Associated uses – Pet Shop, Cats Meat Shop, Tripe Shop
-(S12) Shop, Retail and Associated uses – Hot Food, Takeaway Food, Fish And Chip Shop
-(S13) Shop, Retail and Associated uses – Sex Shop
-(S14) Shop, Retail and Associated uses – Sale/Rental Of Pre-Recorded Video Tapes
-(S15) Shop, Retail and Associated uses – Sale Of Motor Vehicles
-(S16) Shop, Retail and Associated uses –DIY Shop
-(S19) Shop, Retail and Associated uses – Superstore / Hypermarket
-(S22) Shop, Retail and Associated uses – Retail Store/Warehouse (Between 5 & 10,000 sq m Floor Space Or Up To 1.5 Hectares Or Less Site Area)
-(S23) Shop, Retail and Associated uses - Retail Store/Warehouse (Between 10 & 20,000 sq m Floor Space Or 1.5 & 3 Hectares Site Area)
-(S24) Shop, Retail and Associated uses – Retail Store/Warehouse (Greater than 20,000 sq m Floor Space Or Greater Than 4 Hectares Site Area)
-(S25) Shop, Retail and Associated uses – Warehouse Club
-(S28) Shop, Retail and Associated uses – Shopping Centre
-(S30) Shop, Retail and Associated uses – Other Retail Use
-(S31) Shop, Retail and Associated uses – Farm Shop
-(S32) Shop, Retail and Associated uses – Garden Centre
-(S33) Shop, Retail and Associated uses – Open Air Market (inc Car Boot Sales)
-(S34) Shop, Retail and Associated uses – Covered Market
-(S40) Shop, Retail and Associated uses – Catering General
-(S41) Shop, Retail and Associated uses – Restaurant, Canteen, Café
-(S42) Shop, Retail and Associated uses – Public House, Wine Bar
-(S43) Shop, Retail and Associated uses – Snack Bar, Ice Cream Outlet
-(S44) Shop, Retail and Associated uses – Hot Dog Stall, Mobile Café
-(S50) Shop, Retail and Associated uses – Other Services
-(S51) Shop, Retail and Associated uses – Hairdresser, Beauty Salon, Massage Parlour/Sauna
-(S52) Shop, Retail and Associated uses – Launderette
-(S53) Shop, Retail and Associated uses – Post Office
-(S54) Shop, Retail and Associated uses – Travel Agent, Ticket Agency, Hotel Agency
-(S55) Shop, Retail and Associated uses –Undertaker, Funeral Director
-(S60) Shop, Retail and Associated uses – Petrol Filling Station
-(S61) Shop, Retail and Associated uses – Car Wash, Car Valeting Service
-(S62) Shop, Retail and Associated uses – Vehicle Hire
-(S63) Shop, Retail and Associated uses – Motorway/Major Road Service Area
-(S70) Shop, Retail and Associated uses – Shop Front (inc Blinds, Canopies, Luminous Signs, Security Shutters)
-(T00) Transport, Utilities and Miscellaneous uses – Transport Utilities And Miscellaneous Uses
-(T10) Transport, Utilities and Miscellaneous uses – Public Transport Facility
-(T11) Transport, Utilities and Miscellaneous uses – Airport, Heliport, Hoverport, Air Terminal
-(T12) Transport, Utilities and Miscellaneous uses – Bus/Coach Stations/Depot
-(T13) Transport, Utilities and Miscellaneous uses – Railway Station/Installation
-(T14) Transport, Utilities and Miscellaneous uses – Dock/Quay
-(T15) Transport, Utilities and Miscellaneous uses – Canal
-(T16) Transport, Utilities and Miscellaneous uses – Road
-(T17) Transport, Utilities and Miscellaneous uses – Footpath, Bridleway, Byway Open To All Traffic
-(T18) Transport, Utilities and Miscellaneous uses – Cycleway
-(T20) Transport, Utilities and Miscellaneous uses – Parking (Land)
-(T21) Transport, Utilities and Miscellaneous uses – Car Park
-(T22) Transport, Utilities and Miscellaneous uses – Lorry Park
-(T23) Transport, Utilities and Miscellaneous uses – Cycle Park
-(T24) Transport, Utilities and Miscellaneous uses – Lock-Up Garage
-(T30) Transport, Utilities and Miscellaneous uses – Utilities
-(T31) Transport, Utilities and Miscellaneous uses – Gas Production/Supply, Gas Pipeline
-(T32) Transport, Utilities and Miscellaneous uses – Electricity Production And Supply
-(T33) Transport, Utilities and Miscellaneous uses – Water Catchment/Supply (inc Plant, Bore Hole)
-(T34) Transport, Utilities and Miscellaneous uses – Oil Installation/Pipeline
-(T35) Transport, Utilities and Miscellaneous uses – Sewage Treatment And Disposal, Sea Fall-Out
-(T36) Transport, Utilities and Miscellaneous uses – Domestic Refuse Disposal, Waste Disposal
-(T37) Transport, Utilities and Miscellaneous uses – Cemetery And Crematorium, Mortuary, Pet Cemetery
-(T38) Transport, Utilities and Miscellaneous uses – Public Convenience, Toilet Facility
-(T39) Transport, Utilities and Miscellaneous uses – Wind Turbine, Wind Farm
-(T40) Transport, Utilities and Miscellaneous uses – Communications General
-(T41) Transport, Utilities and Miscellaneous uses – Post Office Depot
-(T42) Transport, Utilities and Miscellaneous uses – Telecommunications (inc Radio/Tv - Mast/Ariel/DishAntenna)
-(T50) Transport, Utilities and Miscellaneous uses – Miscellaneous
-(T51) Transport, Utilities and Miscellaneous uses –Flood Lights
-(T52) Transport, Utilities and Miscellaneous uses – Non-Residential Fence, Wall, Gate. Enclosure
-(T53) Transport, Utilities and Miscellaneous uses – Advertisement Hoarding, Advertisement Structure
-(T54) Transport, Utilities and Miscellaneous uses – Fire Escape
-(T60) Transport, Utilities and Miscellaneous uses – Unused Land
-(T61) Transport, Utilities and Miscellaneous uses – Derelict Land
-(T62) Transport, Utilities and Miscellaneous uses – Cleared Site
-(W00) Storage, Depots, Yards, Warehousing and Wholesaling – Miscellaneous Storage
-(W10) Storage, Depots, Yards, Warehousing and Wholesaling – Wholesale Warehouse Or Repository
-(W11) Storage, Depots, Yards, Warehousing and Wholesaling – Cold Store, Refrigerated Storage
-(W20) Storage, Depots, Yards, Warehousing and Wholesaling – Deport
-(W21) Storage, Depots, Yards, Warehousing and Wholesaling – Builders Yard, Timber Yard, Stonemasons Yard
-(W22) Storage, Depots, Yards, Warehousing and Wholesaling – Coal yard
-(W23) Storage, Depots, Yards, Warehousing and Wholesaling – Council Deport
-(W24) Storage, Depots, Yards, Warehousing and Wholesaling – Freight, Haulage, Railway, Container
-(W25) Storage, Depots, Yards, Warehousing and Wholesaling – Plant Hire, Skip hire
-(W30) Storage, Depots, Yards, Warehousing and Wholesaling – Open Storage (inc Storage Of Cars etc)
-Agriculture, Fisheries and Forestry
-Application for approval of reserved matters
-Application for full planning permission
-Application for outline planning permission
-Application for variation or removal of a condition on a permission
-Certificate A
-Certificate B
-Certificate C&D
-Community, Education and Defence services
-ELB - ( b )that the matters alleged to constitute a contravention of section 9(1) or (2) have not occurred.
-ELB - (a)that the building is not of special architectural or historic interest.
-ELB - (c)that those matters (if they occurred) do not constitute such a contravention.
-ELB - (d)that works to the building were urgently necessary in the interests of safety or health or for the preservation of the building, that it was not practicable to secure safety or health or, as the case may be, the preservation of the building by
-ELB - (e)that listed building consent ought to be granted for the works, or that any relevant condition of such consent which has been granted ought to be discharged, or different conditions substituted.
-ELB - (f)that copies of the notice were not served as required by section 38(4)
-ELB - (g)except in relation to such a requirement as is mentioned in section 38(2)(b) or (c), that the requirements of the notice exceed what is necessary for restoring the building to its condition before the works were carried out
-ELB - (h)that the period specified in the notice as the period within which any step required by the notice is to be taken falls short of what should reasonably be allowed.
-ELB - (i)that the steps required by the notice for the purpose of restoring the character of the building to its former state would not serve that purpose.
-ELB - (j)that steps required to be taken by virtue of section 38(2)(b) exceed what is necessary to alleviate the effect of the works executed to the building.
-ELB - (k)that steps required to be taken by virtue of section 38(2)(c) exceed what is necessary to bring the building to the state in which it would have been if the terms and conditions of the listed building consent had been complied with.
-Housing and Residential development
-I
-II
-II*
-Industry
-Item
-Leisure and Recreation
-Mineral extraction/exploration (Inc Geological exploration)
-MOL - (a)that the condition of the land to which the notice relates does not adversely affect the amenity of any part of the area of the local planning authority who served the notice, or of any adjoining area.
-MOL - (b)that the condition of the land to which the notice relates is attributable to, and such as results in the ordinary course of events from, the carrying on of operations or a use of land which is not in contravention of Part III.
-MOL - (c)that the requirements of the notice exceed what is necessary for preventing the condition of the land from adversely affecting the amenity of any part of the area of the local planning authority who served the notice, or of any adjoining area.
-NA
-No
-Offices, Studios
-S117
-S118
-S119
-Shop, Retail and Associated uses
-Storage, Depots, Yards, Warehousing and Wholesaling
-Transport, Utilities and Miscellaneous uses
-Yes
\ No newline at end of file
diff --git a/data/lpa.json b/data/lpa.json
new file mode 100644
index 00000000..664f55e4
--- /dev/null
+++ b/data/lpa.json
@@ -0,0 +1,109 @@
+{
+ "@odata.count": 26,
+ "value": [
+ {
+ "name": "Blaenau Gwent County Borough Council",
+ "accountid": "01297616-dc16-ec11-a985-00224800f523"
+ },
+ {
+ "name": "Brecon Beacons National Park Authority",
+ "accountid": "03297616-dc16-ec11-a985-00224800f523"
+ },
+ {
+ "name": "Bridgend County Borough Council",
+ "accountid": "05297616-dc16-ec11-a985-00224800f523"
+ },
+ {
+ "name": "Caerphilly County Borough Council",
+ "accountid": "07297616-dc16-ec11-a985-00224800f523"
+ },
+ {
+ "name": "Cardiff County Council",
+ "accountid": "09297616-dc16-ec11-a985-00224800f523"
+ },
+ {
+ "name": "Carmarthenshire County Council",
+ "accountid": "0b297616-dc16-ec11-a985-00224800f523"
+ },
+ {
+ "name": "Ceredigion County Council",
+ "accountid": "0d297616-dc16-ec11-a985-00224800f523"
+ },
+ {
+ "name": "City and County of Swansea Council",
+ "accountid": "0f297616-dc16-ec11-a985-00224800f523"
+ },
+ {
+ "name": "Conwy County Borough Council",
+ "accountid": "11297616-dc16-ec11-a985-00224800f523"
+ },
+ {
+ "name": "Denbighshire County Council",
+ "accountid": "13297616-dc16-ec11-a985-00224800f523"
+ },
+ {
+ "name": "Developments of National Significance",
+ "accountid": "d926de84-e621-ec11-a980-00224800d374"
+ },
+ {
+ "name": "Flintshire County Council",
+ "accountid": "15297616-dc16-ec11-a985-00224800f523"
+ },
+ {
+ "name": "Gwynedd Council",
+ "accountid": "17297616-dc16-ec11-a985-00224800f523"
+ },
+ {
+ "name": "Isle of Anglesey County Council",
+ "accountid": "19297616-dc16-ec11-a985-00224800f523"
+ },
+ {
+ "name": "Merthyr Tydfil County Borough Council",
+ "accountid": "1b297616-dc16-ec11-a985-00224800f523"
+ },
+ {
+ "name": "Monmouthshire County Council",
+ "accountid": "1d297616-dc16-ec11-a985-00224800f523"
+ },
+ {
+ "name": "Neath Port Talbot County Borough Council",
+ "accountid": "1f297616-dc16-ec11-a985-00224800f523"
+ },
+ {
+ "name": "Newport City Council",
+ "accountid": "21297616-dc16-ec11-a985-00224800f523"
+ },
+ {
+ "name": "Pembrokeshire Coast National Park Authority",
+ "accountid": "23297616-dc16-ec11-a985-00224800f523"
+ },
+ {
+ "name": "Pembrokeshire County Council",
+ "accountid": "25297616-dc16-ec11-a985-00224800f523"
+ },
+ {
+ "name": "Powys County Council",
+ "accountid": "27297616-dc16-ec11-a985-00224800f523"
+ },
+ {
+ "name": "Rhondda Cynon Taff County Borough Council",
+ "accountid": "29297616-dc16-ec11-a985-00224800f523"
+ },
+ {
+ "name": "Snowdonia National Park Authority",
+ "accountid": "2b297616-dc16-ec11-a985-00224800f523"
+ },
+ {
+ "name": "Torfaen County Borough Council",
+ "accountid": "2d297616-dc16-ec11-a985-00224800f523"
+ },
+ {
+ "name": "Vale of Glamorgan Council",
+ "accountid": "2f297616-dc16-ec11-a985-00224800f523"
+ },
+ {
+ "name": "Wrexham County Borough Council",
+ "accountid": "31297616-dc16-ec11-a985-00224800f523"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/pages/_document.js b/pages/_document.js
index 797388fd..32615699 100644
--- a/pages/_document.js
+++ b/pages/_document.js
@@ -49,7 +49,7 @@ class MyDocument extends Document {
csp += `script-src 'self' unsafe-inline https://www.googletagmanager.com 'nonce-${generatedNonce}' ${
process.env.NODE_ENV != "production" ? " 'unsafe-eval';" : " ;"
}`;
- csp += `img-src 'self' https://www.googletagmanager.com https://gov.wales https://www.google-analytics.com 'nonce-${generatedNonce}' data:;`;
+ //csp += `img-src 'self' https://www.googletagmanager.com https://gov.wales https://www.google-analytics.com 'nonce-${generatedNonce}' data:;`;
csp += `style-src 'self' https://fonts.googleapis.com 'unsafe-inline' data:;`;
return (
diff --git a/pages/account/register.js b/pages/account/register.js
index 821be29e..b2e64851 100644
--- a/pages/account/register.js
+++ b/pages/account/register.js
@@ -158,13 +158,6 @@ const Home = (props) => {
export const getServerSideProps = wrapper.getServerSideProps(
(store) =>
async ({ query, req, res }) => {
- // const appealTypeData = await getAppealsTypes();
- // const lpaData = await getLPA();
- // console.log("appeal types", appealTypeData);
- // console.log("lpa typeswwwww", lpaData);
- // store.dispatch(setAppealType(appealTypeData));
- // store.dispatch(setLPA(lpaData));
-
let hasRegistrationEmail = typeof query.id != "undefined";
let loginEmailStr = "";
diff --git a/pages/advancedsearch.js b/pages/advancedsearch.js
index d2065015..96186d76 100644
--- a/pages/advancedsearch.js
+++ b/pages/advancedsearch.js
@@ -1,3 +1,4 @@
+//import fs from "fs";
import _ from "lodash";
import useTranslation from "next-translate/useTranslation";
import Head from "next/head";
@@ -120,11 +121,14 @@ const Home = (props) => {
export const getServerSideProps = wrapper.getServerSideProps(
(store) =>
async ({ query, req, res }) => {
- const [appealTypeData, lpaData] = await Promise.all([
+ let [appealTypeData, lpaData] = await Promise.all([
await getAppealsTypes(),
await getLPA(),
]);
+ // const lpaData = require("../data/lpa.json");
+ // const appealTypeData = require("../data/appealtypes.json");
+
store.dispatch(setAppealType(appealTypeData));
store.dispatch(setLPA(lpaData));
}
diff --git a/pages/api/endpoint/createcase_api.js b/pages/api/endpoint/createcase_api.js
index a90f5222..3b89e066 100644
--- a/pages/api/endpoint/createcase_api.js
+++ b/pages/api/endpoint/createcase_api.js
@@ -37,7 +37,7 @@ export default async function ApiProxy(req, res) {
"pinswg_AssociatedLPA@odata.bind": "/accounts(" + lpaID + ")",
});
- console.log(data);
+ console.log(data, WEBAPI_URL + queryUrl);
var config = {
method: "post",
diff --git a/pages/api/endpoint/getlpa_api.js b/pages/api/endpoint/getlpa_api.js
index a04bd51a..8dcbcfc0 100644
--- a/pages/api/endpoint/getlpa_api.js
+++ b/pages/api/endpoint/getlpa_api.js
@@ -32,6 +32,7 @@ export default async function ApiProxy(req, res) {
azureHeaders(token.access_token)
)
.then(({ data }) => {
+ console.log(data);
res.status(200).json(data);
})
.catch(({ err }) => {
diff --git a/pages/myportal/[appealtypes].js b/pages/myportal/[appealtypes].js
index 3ea52570..21e713df 100644
--- a/pages/myportal/[appealtypes].js
+++ b/pages/myportal/[appealtypes].js
@@ -54,7 +54,7 @@ let Home = (props) => {
doc
);
var sectionCount = xpath.select("/form/tabs/tab[*]", doc);
- sectionCount = 1; //sectionCount.length;
+ sectionCount = sectionCount.length;
var tabs = xpath.select("//form/tabs/tab[*]", doc);
diff --git a/pages/myportal/advancedsearch.js b/pages/myportal/advancedsearch.js
index fe720725..a5effcf1 100644
--- a/pages/myportal/advancedsearch.js
+++ b/pages/myportal/advancedsearch.js
@@ -69,6 +69,10 @@ export const getServerSideProps = wrapper.getServerSideProps(
]);
const providerConfig = await getProviderConfig();
store.dispatch(getGovGatewayConfig(providerConfig));
+
+ // const lpaData = require("../../data/lpa.json");
+ // const appealTypeData = require("../../data/appealtypes.json");
+
store.dispatch(setAppealType(appealTypeData));
store.dispatch(setLPA(lpaData));
}
diff --git a/pages/newappeal/[appealtypes].js b/pages/newappeal/[appealtypes].js
index 5c1c5918..624fbae0 100644
--- a/pages/newappeal/[appealtypes].js
+++ b/pages/newappeal/[appealtypes].js
@@ -55,7 +55,7 @@ let Home = (props) => {
doc
);
var sectionCount = xpath.select("/form/tabs/tab[*]", doc);
- sectionCount = 1; //sectionCount.length;
+ sectionCount = sectionCount.length;
var tabs = xpath.select("//form/tabs/tab[*]", doc);
diff --git a/pages/newappeal/index.js b/pages/newappeal/index.js
index 329d8d9c..6a98c57e 100644
--- a/pages/newappeal/index.js
+++ b/pages/newappeal/index.js
@@ -135,6 +135,9 @@ export const getServerSideProps = wrapper.getServerSideProps(
]);
const providerConfig = await getProviderConfig();
+ // const lpaData = require("../../data/lpa.json");
+ // const appealTypeData = require("../../data/appealtypes.json");
+
store.dispatch(getGovGatewayConfig(providerConfig));
store.dispatch(setAppealType(appealTypeData));
store.dispatch(setLPA(lpaData));
diff --git a/styles/sass/patterns/_card.scss b/styles/sass/patterns/_card.scss
index 66cfaac7..3673f7b1 100644
--- a/styles/sass/patterns/_card.scss
+++ b/styles/sass/patterns/_card.scss
@@ -98,10 +98,10 @@ html[data-useragent*="MSIE 10.0"] .flex-container {
}
&.govuk-button {
color: $white;
- &:focus {
- color: $black;
- background-image: url(https://gov.wales/themes/custom/govwales/storage/smartsurvey/arrow-right--black.svg);
- }
+ // &:focus {
+ // color: $black;
+ // background-image: url(https://gov.wales/themes/custom/govwales/storage/smartsurvey/arrow-right--black.svg);
+ // }
}
}