Browse Source

Only english LAs for current LA

pull/181/head
baarkerlounger 4 years ago
parent
commit
9972f8450c
  1. 4
      app/models/case_log.rb
  2. 1079
      app/models/constants/case_log.rb
  3. 63
      config/forms/2021_2022.json

4
app/models/case_log.rb

@ -114,8 +114,8 @@ class CaseLog < ApplicationRecord
enum lawaitlist: LATIME, _suffix: true
enum reasonpref: POLAR_WITH_UNKNOWN, _suffix: true
enum reason: REASON, _suffix: true
enum la: LA, _suffix: true
enum prevloc: LA, _suffix: true
enum la: ENGLISH_LA, _suffix: true
enum prevloc: UK_LA, _suffix: true
enum majorrepairs: POLAR, _suffix: true
enum hb: HOUSING_BENEFIT, _suffix: true
enum hbrentshortfall: POLAR_WITH_UNKNOWN, _suffix: true

1079
app/models/constants/case_log.rb

File diff suppressed because it is too large Load Diff

63
config/forms/2021_2022.json

@ -1159,16 +1159,9 @@
"type": "select",
"answer_options": {
"": "Select an option",
"S12000033": "Aberdeen City",
"S12000034": "Aberdeenshire",
"E07000223": "Adur",
"E07000026": "Allerdale",
"E07000032": "Amber Valley",
"S12000041": "Angus",
"N09000001": "Antrim and Newtownabbey",
"N09000011": "Ards and North Down",
"S12000035": "Argyll and Bute",
"N09000002": "Armagh City, Banbridge and Craigavon",
"E07000224": "Arun",
"E07000170": "Ashfield",
"E07000105": "Ashford",
@ -1182,13 +1175,11 @@
"E07000171": "Bassetlaw",
"E06000022": "Bath and North East Somerset",
"E06000055": "Bedford",
"N09000003": "Belfast",
"E09000004": "Bexley",
"E08000025": "Birmingham",
"E07000129": "Blaby",
"E06000008": "Blackburn with Darwen",
"E06000009": "Blackpool",
"W06000019": "Blaenau Gwent",
"E07000033": "Bolsover",
"E08000001": "Bolton",
"E07000136": "Boston",
@ -1199,7 +1190,6 @@
"E07000143": "Breckland",
"E09000005": "Brent",
"E07000068": "Brentwood",
"W06000013": "Bridgend",
"E06000043": "Brighton and Hove",
"E06000023": "Bristol, City of",
"E07000144": "Broadland",
@ -1210,19 +1200,14 @@
"E06000060": "Buckinghamshire",
"E07000117": "Burnley",
"E08000002": "Bury",
"W06000018": "Caerphilly",
"E08000033": "Calderdale",
"E07000008": "Cambridge",
"E09000007": "Camden",
"E07000192": "Cannock Chase",
"E07000106": "Canterbury",
"W06000015": "Cardiff",
"E07000028": "Carlisle",
"W06000010": "Carmarthenshire",
"E07000069": "Castle Point",
"N09000004": "Causeway Coast and Glens",
"E06000056": "Central Bedfordshire",
"W06000008": "Ceredigion",
"E07000130": "Charnwood",
"E07000070": "Chelmsford",
"E07000078": "Cheltenham",
@ -1232,11 +1217,8 @@
"E07000034": "Chesterfield",
"E07000225": "Chichester",
"E07000118": "Chorley",
"S12000036": "City of Edinburgh",
"E09000001": "City of London",
"S12000005": "Clackmannanshire",
"E07000071": "Colchester",
"W06000003": "Conwy",
"E07000029": "Copeland",
"E07000150": "Corby",
"E06000052": "Cornwall",
@ -1250,27 +1232,19 @@
"E06000005": "Darlington",
"E07000107": "Dartford",
"E07000151": "Daventry",
"W06000004": "Denbighshire",
"E06000015": "Derby",
"E07000035": "Derbyshire Dales",
"N09000005": "Derry City and Strabane",
"E08000017": "Doncaster",
"E06000059": "Dorset",
"E07000108": "Dover",
"E08000027": "Dudley",
"S12000006": "Dumfries and Galloway",
"S12000042": "Dundee City",
"E09000009": "Ealing",
"S12000008": "East Ayrshire",
"E07000009": "East Cambridgeshire",
"E07000040": "East Devon",
"S12000045": "East Dunbartonshire",
"E07000085": "East Hampshire",
"E07000242": "East Hertfordshire",
"E07000137": "East Lindsey",
"S12000010": "East Lothian",
"E07000152": "East Northamptonshire",
"S12000011": "East Renfrewshire",
"E06000011": "East Riding of Yorkshire",
"E07000193": "East Staffordshire",
"E07000244": "East Suffolk",
@ -1283,18 +1257,13 @@
"E07000208": "Epsom and Ewell",
"E07000036": "Erewash",
"E07000041": "Exeter",
"S12000014": "Falkirk",
"E07000087": "Fareham",
"E07000010": "Fenland",
"N09000006": "Fermanagh and Omagh",
"S12000047": "Fife",
"W06000005": "Flintshire",
"E07000112": "Folkestone and Hythe",
"E07000080": "Forest of Dean",
"E07000119": "Fylde",
"E08000037": "Gateshead",
"E07000173": "Gedling",
"S12000049": "Glasgow City",
"E07000081": "Gloucester",
"E07000088": "Gosport",
"E07000109": "Gravesham",
@ -1326,9 +1295,7 @@
"E09000018": "Hounslow",
"E07000011": "Huntingdonshire",
"E07000120": "Hyndburn",
"S12000018": "Inverclyde",
"E07000202": "Ipswich",
"W06000001": "Isle of Anglesey",
"E06000046": "Isle of Wight",
"E06000053": "Isles of Scilly",
"E09000019": "Islington",
@ -1347,7 +1314,6 @@
"E09000023": "Lewisham",
"E07000194": "Lichfield",
"E07000138": "Lincoln",
"N09000007": "Lisburn and Castlereagh",
"E08000012": "Liverpool",
"E06000032": "Luton",
"E07000110": "Maidstone",
@ -1358,35 +1324,23 @@
"E06000035": "Medway",
"E07000133": "Melton",
"E07000187": "Mendip",
"W06000024": "Merthyr Tydfil",
"E09000024": "Merton",
"E07000042": "Mid Devon",
"E07000203": "Mid Suffolk",
"E07000228": "Mid Sussex",
"N09000009": "Mid Ulster",
"N09000008": "Mid and East Antrim",
"E06000002": "Middlesbrough",
"S12000019": "Midlothian",
"E06000042": "Milton Keynes",
"E07000210": "Mole Valley",
"W06000021": "Monmouthshire",
"S12000020": "Moray",
"S12000013": "Na h-Eileanan Siar",
"W06000012": "Neath Port Talbot",
"E07000091": "New Forest",
"E07000175": "Newark and Sherwood",
"E08000021": "Newcastle upon Tyne",
"E07000195": "Newcastle-under-Lyme",
"E09000025": "Newham",
"W06000022": "Newport",
"N09000010": "Newry, Mourne and Down",
"S12000021": "North Ayrshire",
"E07000043": "North Devon",
"E07000038": "North East Derbyshire",
"E06000012": "North East Lincolnshire",
"E07000099": "North Hertfordshire",
"E07000139": "North Kesteven",
"S12000050": "North Lanarkshire",
"E06000013": "North Lincolnshire",
"E07000147": "North Norfolk",
"E06000024": "North Somerset",
@ -1400,23 +1354,17 @@
"E07000219": "Nuneaton and Bedworth",
"E07000135": "Oadby and Wigston",
"E08000004": "Oldham",
"S12000023": "Orkney Islands",
"E07000178": "Oxford",
"W06000009": "Pembrokeshire",
"E07000122": "Pendle",
"S12000048": "Perth and Kinross",
"E06000031": "Peterborough",
"E06000026": "Plymouth",
"E06000044": "Portsmouth",
"W06000023": "Powys",
"E07000123": "Preston",
"E06000038": "Reading",
"E09000026": "Redbridge",
"E06000003": "Redcar and Cleveland",
"E07000236": "Redditch",
"E07000211": "Reigate and Banstead",
"S12000038": "Renfrewshire",
"W06000016": "Rhondda Cynon Taf",
"E07000124": "Ribble Valley",
"E09000027": "Richmond upon Thames",
"E07000166": "Richmondshire",
@ -1434,18 +1382,15 @@
"E08000006": "Salford",
"E08000028": "Sandwell",
"E07000168": "Scarborough",
"S12000026": "Scottish Borders",
"E07000188": "Sedgemoor",
"E08000014": "Sefton",
"E07000169": "Selby",
"E07000111": "Sevenoaks",
"E08000019": "Sheffield",
"S12000027": "Shetland Islands",
"E06000051": "Shropshire",
"E06000039": "Slough",
"E08000029": "Solihull",
"E07000246": "Somerset West and Taunton",
"S12000028": "South Ayrshire",
"E07000012": "South Cambridgeshire",
"E07000039": "South Derbyshire",
"E06000025": "South Gloucestershire",
@ -1453,7 +1398,6 @@
"E07000140": "South Holland",
"E07000141": "South Kesteven",
"E07000031": "South Lakeland",
"S12000029": "South Lanarkshire",
"E07000149": "South Norfolk",
"E07000155": "South Northamptonshire",
"E07000179": "South Oxfordshire",
@ -1470,7 +1414,6 @@
"E07000197": "Stafford",
"E07000198": "Staffordshire Moorlands",
"E07000243": "Stevenage",
"S12000030": "Stirling",
"E08000007": "Stockport",
"E06000004": "Stockton-on-Tees",
"E06000021": "Stoke-on-Trent",
@ -1480,7 +1423,6 @@
"E07000214": "Surrey Heath",
"E09000029": "Sutton",
"E07000113": "Swale",
"W06000011": "Swansea",
"E06000030": "Swindon",
"E08000008": "Tameside",
"E07000199": "Tamworth",
@ -1495,13 +1437,11 @@
"E06000034": "Thurrock",
"E07000115": "Tonbridge and Malling",
"E06000027": "Torbay",
"W06000020": "Torfaen",
"E07000046": "Torridge",
"E09000030": "Tower Hamlets",
"E08000009": "Trafford",
"E07000116": "Tunbridge Wells",
"E07000077": "Uttlesford",
"W06000014": "Vale of Glamorgan",
"E07000180": "Vale of White Horse",
"E08000036": "Wakefield",
"E08000030": "Walsall",
@ -1516,10 +1456,8 @@
"E07000241": "Welwyn Hatfield",
"E06000037": "West Berkshire",
"E07000047": "West Devon",
"S12000039": "West Dunbartonshire",
"E07000127": "West Lancashire",
"E07000142": "West Lindsey",
"S12000040": "West Lothian",
"E07000181": "West Oxfordshire",
"E07000245": "West Suffolk",
"E09000033": "Westminster",
@ -1533,7 +1471,6 @@
"E08000031": "Wolverhampton",
"E07000237": "Worcester",
"E07000229": "Worthing",
"W06000006": "Wrexham",
"E07000238": "Wychavon",
"E07000128": "Wyre",
"E07000239": "Wyre Forest",

Loading…
Cancel
Save