Add ‘GP’ as an org type

Although their allowances are the same as what we call `nhs_local` it
makes more sense to store them separately because:
- we already present them as two separate choices to the user
- we may want to handle them differently in the future, eg in terms of
  what branding choices are available to them
This commit is contained in:
Chris Hill-Scott
2019-08-27 15:45:59 +01:00
parent d3449c37da
commit a5b36457f2
3 changed files with 48 additions and 3 deletions

View File

@@ -326,11 +326,11 @@ class Domain(db.Model):
ORGANISATION_TYPES = [
"central", "local", "nhs_central", "nhs_local", "emergency_service", "school_or_college", "other",
"central", "local", "nhs_central", "nhs_local", "gp", "emergency_service", "school_or_college", "other",
]
CROWN_ORGANISATION_TYPES = ["nhs_central"]
NON_CROWN_ORGANISATION_TYPES = ["local", "nhs_local", "emergency_service", "school_or_college"]
NON_CROWN_ORGANISATION_TYPES = ["local", "nhs_local", "gp", "emergency_service", "school_or_college"]
class OrganisationTypes(db.Model):