From e8b4bc577016a7ff43a06c9685f9e06bb9956512 Mon Sep 17 00:00:00 2001 From: ismail Date: Mon, 28 Jul 2025 12:06:38 +0300 Subject: [PATCH] small fixes --- inventory/views.py | 2 +- templates/dealers/dealer_detail.html | 2 +- templates/users/user_list.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/inventory/views.py b/inventory/views.py index dac11229..630a5594 100644 --- a/inventory/views.py +++ b/inventory/views.py @@ -2344,7 +2344,7 @@ class CustomerDetailView(LoginRequiredMixin, PermissionRequiredMixin, DetailView estimates = entity.get_estimates().filter(customer=self.object.customer_model) invoices = entity.get_invoices().filter(customer=self.object.customer_model) context['leads']=self.object.customer_leads.all() - + total = estimates.count() + invoices.count() diff --git a/templates/dealers/dealer_detail.html b/templates/dealers/dealer_detail.html index 59bab6df..ae726804 100644 --- a/templates/dealers/dealer_detail.html +++ b/templates/dealers/dealer_detail.html @@ -121,7 +121,7 @@ background-position:left bottom; background-size:auto">
-
+

{{ dealer.user.userplan.plan|capfirst }}

diff --git a/templates/users/user_list.html b/templates/users/user_list.html index 9cc05118..5ca9ca57 100644 --- a/templates/users/user_list.html +++ b/templates/users/user_list.html @@ -23,7 +23,7 @@ role="alert">

- {{ _("No Active Subscription,please activate your subscription.") }}Manage Subscription