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">
- {{ _("No Active Subscription,please activate your subscription.") }}Manage Subscription