diff --git a/RIGS/forms.py b/RIGS/forms.py index 640a2a15..3f38f9d5 100644 --- a/RIGS/forms.py +++ b/RIGS/forms.py @@ -116,4 +116,4 @@ class EventForm(forms.ModelForm): fields = ['is_rig', 'name', 'venue', 'start_time', 'end_date', 'start_date', 'end_time', 'meet_at', 'access_at', 'description', 'notes', 'mic', 'person', 'organisation', 'dry_hire', 'checked_in_by', 'status', - 'collector',] + 'collector','purchase_order'] diff --git a/RIGS/models.py b/RIGS/models.py index 641aeab9..524cc338 100644 --- a/RIGS/models.py +++ b/RIGS/models.py @@ -255,7 +255,7 @@ class Event(models.Model, RevisionMixin): # Monies payment_method = models.CharField(max_length=255, blank=True, null=True) payment_received = models.CharField(max_length=255, blank=True, null=True) - purchase_order = models.CharField(max_length=255, blank=True, null=True) + purchase_order = models.CharField(max_length=255, blank=True, null=True, verbose_name='Purchase Order') collector = models.CharField(max_length=255, blank=True, null=True, verbose_name='Collected By') # Calculated values diff --git a/RIGS/templates/RIGS/event_detail.html b/RIGS/templates/RIGS/event_detail.html index d2e57352..fe5a70fa 100644 --- a/RIGS/templates/RIGS/event_detail.html +++ b/RIGS/templates/RIGS/event_detail.html @@ -157,6 +157,11 @@