small fixes
This commit is contained in:
parent
d4e084b1db
commit
e8b4bc5770
@ -2344,7 +2344,7 @@ class CustomerDetailView(LoginRequiredMixin, PermissionRequiredMixin, DetailView
|
|||||||
estimates = entity.get_estimates().filter(customer=self.object.customer_model)
|
estimates = entity.get_estimates().filter(customer=self.object.customer_model)
|
||||||
invoices = entity.get_invoices().filter(customer=self.object.customer_model)
|
invoices = entity.get_invoices().filter(customer=self.object.customer_model)
|
||||||
context['leads']=self.object.customer_leads.all()
|
context['leads']=self.object.customer_leads.all()
|
||||||
|
|
||||||
|
|
||||||
total = estimates.count() + invoices.count()
|
total = estimates.count() + invoices.count()
|
||||||
|
|
||||||
|
|||||||
@ -121,7 +121,7 @@
|
|||||||
background-position:left bottom;
|
background-position:left bottom;
|
||||||
background-size:auto"></div>
|
background-size:auto"></div>
|
||||||
<div class="card-body d-flex flex-column justify-content-between position-relative">
|
<div class="card-body d-flex flex-column justify-content-between position-relative">
|
||||||
<div class="d-flex justify-content-between">
|
<div class="d-flex justify-content-between" hx-boost="false">
|
||||||
<div class="mb-5 mb-md-0 mb-lg-5">
|
<div class="mb-5 mb-md-0 mb-lg-5">
|
||||||
<div class="d-sm-flex d-md-block d-lg-flex align-items-center mb-3">
|
<div class="d-sm-flex d-md-block d-lg-flex align-items-center mb-3">
|
||||||
<h3 class="mb-0 me-2">{{ dealer.user.userplan.plan|capfirst }}</h3>
|
<h3 class="mb-0 me-2">{{ dealer.user.userplan.plan|capfirst }}</h3>
|
||||||
|
|||||||
@ -23,7 +23,7 @@
|
|||||||
role="alert">
|
role="alert">
|
||||||
<i class="fa-solid fa-circle-info fs-6"></i>
|
<i class="fa-solid fa-circle-info fs-6"></i>
|
||||||
<p class="mb-0 flex-1">
|
<p class="mb-0 flex-1">
|
||||||
{{ _("No Active Subscription,please activate your subscription.") }}<a href="{% url 'pricing_page' request.dealer.slug %}"
|
{{ _("No Active Subscription,please activate your subscription.") }}<a hx-boost="false" href="{% url 'pricing_page' request.dealer.slug %}"
|
||||||
class="ms-3 text-body-primary fs-9">Manage Subscription</a>
|
class="ms-3 text-body-primary fs-9">Manage Subscription</a>
|
||||||
</p>
|
</p>
|
||||||
<button class="btn-close"
|
<button class="btn-close"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user