From bf9b0e6669d4c62e0db59004e5ecd2ff281eff4e Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Fri, 14 Aug 2020 14:59:15 +0100 Subject: working on adding list of existing systems to add system form --- ctrack/organisations/models.py | 4 ++++ ctrack/organisations/templates/organisations/organisation_detail.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'ctrack/organisations') diff --git a/ctrack/organisations/models.py b/ctrack/organisations/models.py index 4a0b17c..d7f1194 100644 --- a/ctrack/organisations/models.py +++ b/ctrack/organisations/models.py @@ -152,6 +152,10 @@ class Organisation(models.Model): def primary_contacts(self): return self.person_set.filter(primary_nis_contact=True) + def applicable_systems(self): + # TODO - we need to do this + pass + class Address(models.Model): organisation = models.ForeignKey( diff --git a/ctrack/organisations/templates/organisations/organisation_detail.html b/ctrack/organisations/templates/organisations/organisation_detail.html index af50e1c..c3a2fb5 100644 --- a/ctrack/organisations/templates/organisations/organisation_detail.html +++ b/ctrack/organisations/templates/organisations/organisation_detail.html @@ -70,7 +70,7 @@