|
|
|
@ -96,7 +96,7 @@ class ProspectAdmin(SyncedObjectAdmin): |
|
|
|
] |
|
|
|
] |
|
|
|
list_display = ('entity_names', 'first_name', 'last_name', 'email', 'last_update', 'current_status') |
|
|
|
list_display = ('entity_names', 'first_name', 'last_name', 'email', 'last_update', 'current_status') |
|
|
|
list_filter = (ProspectStatusFilter, ProspectDeclineReasonFilter, 'creation_date', StaffUserFilter, 'source', ProspectProfileFilter) |
|
|
|
list_filter = (ProspectStatusFilter, ProspectDeclineReasonFilter, 'creation_date', StaffUserFilter, 'source', ProspectProfileFilter) |
|
|
|
search_fields = ('first_name', 'last_name', 'email') |
|
|
|
search_fields = ('first_name', 'last_name', 'email', 'entities__name') |
|
|
|
date_hierarchy = 'creation_date' |
|
|
|
date_hierarchy = 'creation_date' |
|
|
|
change_list_template = "admin/bizdev/prospect/change_list.html" |
|
|
|
change_list_template = "admin/bizdev/prospect/change_list.html" |
|
|
|
ordering = ['-last_update'] |
|
|
|
ordering = ['-last_update'] |
|
|
|
|