dashboard improvements

main
Laurent 1 month ago
parent 108fd9cafa
commit 4df1ccba28
  1. 2
      biz/models.py
  2. 2
      biz/templates/admin/biz/dashboard.html

@ -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

@ -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),

Loading…
Cancel
Save