diff --git a/inventory/__pycache__/views.cpython-311.pyc b/inventory/__pycache__/views.cpython-311.pyc index 4fe1a2c4..04049c6f 100644 Binary files a/inventory/__pycache__/views.cpython-311.pyc and b/inventory/__pycache__/views.cpython-311.pyc differ diff --git a/inventory/views.py b/inventory/views.py index fdc42723..c29bb78a 100644 --- a/inventory/views.py +++ b/inventory/views.py @@ -362,12 +362,19 @@ class ManagerDashboard(LoginRequiredMixin, TemplateView): total_selling_price = stats["total_selling_price"] or 0 total_profit = total_selling_price - total_cost_price + new_leads = models.Lead.objects.filter(dealer=dealer, status=models.Status.NEW).count() + pending_leads = models.Lead.objects.filter(dealer=dealer, status=models.Status.PENDING).count() + canceled_leads = models.Lead.objects.filter(dealer=dealer, status=models.Status.CANCELED).count() + context["dealer"] = dealer context["total_cars"] = total_cars context["total_reservations"] = total_reservations context["total_cost_price"] = total_cost_price context["total_selling_price"] = total_selling_price context["total_profit"] = total_profit + context['new_leads'] = new_leads + context['pending_leads'] = pending_leads + context['canceled_leads'] = canceled_leads return context diff --git a/templates/dashboards/manager.html b/templates/dashboards/manager.html index 4d5135e5..f12ed117 100644 --- a/templates/dashboards/manager.html +++ b/templates/dashboards/manager.html @@ -101,8 +101,50 @@
Phoenix improves efficiency instantly and effortlessly
by allowing easy & simple connection
to other popular programs
{{ _("New")}}
+{{ _("Pending")}}
+{{ _("Canceled")}}
+{% trans 'Active until' %}: {{ dealer.user.userplan.expire}}
Awating processing
-On hold
-Out of stock
-For individuals who are interested
in giving it a shot first.

- For teams that need to create
project plans with confidence.

- For teams that need to manage
work across initiatives.

- For organizations that need
additional security and support.

- For individuals who are interested
in giving it a shot first.

- For teams that need to create
project plans with confidence.

- For teams that need to manage
work across initiatives.

- For organizations that need
additional security and support.

- Business Starter, Business Standard, and Business Plus plans can be purchased for a maximum of 300 users. There is no
maximum user limit for Enterprise plans.
Phoenix customers may have access to additional features for a limited
promotional period.
Timeline
-Advanced Search
-Custom fields
New -Task dependencies
-20TB of additional space
-Bandwidth of Upto 1 Gbps
-Private teams & projects
-Customer Support and Training
-