Add extra fields to create/update organisation

This commit is contained in:
Chris Hill-Scott
2019-07-03 14:53:20 +01:00
parent 1ebd147ad0
commit a4ae534f87
3 changed files with 57 additions and 12 deletions

View File

@@ -61,6 +61,8 @@ DELIVERY_STATUS_CALLBACK_TYPE = 'delivery_status'
COMPLAINT_CALLBACK_TYPE = 'complaint'
SERVICE_CALLBACK_TYPES = [DELIVERY_STATUS_CALLBACK_TYPE, COMPLAINT_CALLBACK_TYPE]
ORGANISATION_TYPES = ['central', 'local', 'nhs']
def filter_null_value_fields(obj):
return dict(