diff --git a/biz/models.py b/biz/models.py index 9eb0410..f7da7bc 100644 --- a/biz/models.py +++ b/biz/models.py @@ -90,7 +90,7 @@ class Prospect(BaseModel): return Status.NONE def current_activity_type(self): - last_activity = self.activities.exclude(status=None).order_by('-creation_date').first() + last_activity = self.activities.exclude(type=None).order_by('-creation_date').first() if last_activity: return last_activity.type return None diff --git a/biz/templates/admin/biz/dashboard.html b/biz/templates/admin/biz/dashboard.html index f79cc1c..8bddd41 100644 --- a/biz/templates/admin/biz/dashboard.html +++ b/biz/templates/admin/biz/dashboard.html @@ -77,7 +77,7 @@ .prospect-table th:nth-child(1), .prospect-table td:nth-child(1) { - width: 150px; + width: 225px; } .prospect-table th:nth-child(2),