lead detail extra stuff removed
This commit is contained in:
parent
5719ddbf14
commit
f8d38e6172
@ -4345,8 +4345,7 @@ def sales_list_view(request, dealer_slug):
|
||||
# # Q(item_details__icontains=query)
|
||||
|
||||
# # ).distinct()
|
||||
# for so in qs:
|
||||
# if query in so.customer_customer
|
||||
#r
|
||||
|
||||
paginator = Paginator(qs, 30)
|
||||
page_number = request.GET.get("page")
|
||||
|
||||
@ -37,30 +37,17 @@
|
||||
{% include "crm/leads/partials/update_action.html" %}
|
||||
<div class="row align-items-center justify-content-between g-3 mb-3">
|
||||
<div class="col-12 col-md-auto">
|
||||
<h4 class="mb-0">{{ _("Lead Details") }}</h4>
|
||||
</div>
|
||||
<div class="col-12 col-md-auto">
|
||||
<div class="d-flex">
|
||||
<div class="flex-1 d-md-none">
|
||||
<button class="btn px-3 btn-phoenix-secondary text-body-tertiary me-2">
|
||||
<span class="fa-solid fa-bars"></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<h3 class="mb-0">{{ _("Lead Details") }}</h3>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row g-0 g-md-4 g-xl-6 mb-3">
|
||||
<div class="row g-0 g-md-4 g-xl-6">
|
||||
<div class="col-md-5 col-lg-5 col-xl-4">
|
||||
<div class="sticky-leads-sidebar">
|
||||
<div class="lead-details" data-breakpoint="md">
|
||||
<div class="d-flex justify-content-between align-items-center mb-2 d-md-none">
|
||||
<h3 class="mb-0">{{ _("Lead Details") }}</h3>
|
||||
<button class="btn p-0">
|
||||
<span class="uil uil-times fs-7"></span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="card mb-2">
|
||||
<div class="card-body">
|
||||
<div class="row align-items-center g-3 text-center text-xxl-start">
|
||||
@ -807,24 +794,13 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="row align-items-center justify-content-between py-2 pe-0 fs-9">
|
||||
<div class="row align-items-center justify-content-between py-2 pe-0 fs-9 mt-3">
|
||||
<div class="col-auto d-flex">
|
||||
<p class="mb-0 d-none d-sm-block me-3 fw-semibold text-body"
|
||||
data-list-info="data-list-info"></p>
|
||||
<a class="nav-link px-3 d-block"
|
||||
href="{% url 'appointment:get_user_appointments' %}"> <span class="me-2 text-body align-bottom" data-feather="calendar"></span>{{ _("View in Calendar") }}
|
||||
<span class="fas fa-angle-right ms-1" data-fa-transform="down-1"></span></a>
|
||||
</div>
|
||||
<div class="col-auto d-flex">
|
||||
<button class="page-link" data-list-pagination="prev">
|
||||
<span class="fas fa-chevron-left"></span>
|
||||
</button>
|
||||
<ul class="mb-0 pagination">
|
||||
</ul>
|
||||
<button class="page-link pe-0" data-list-pagination="next">
|
||||
<span class="fas fa-chevron-right"></span>
|
||||
</button>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -971,20 +947,17 @@
|
||||
}
|
||||
|
||||
// Close modal after successful form submission
|
||||
/*document.body.addEventListener('htmx:afterSwap', function(evt) {
|
||||
document.body.addEventListener('htmx:afterSwap', function(evt) {
|
||||
if (evt.detail.target.id === 'main_content') {
|
||||
document.querySelectorAll('.modal').forEach(function(modal) {
|
||||
var modal = bootstrap.Modal.getInstance();
|
||||
if (modal) {
|
||||
modal.hide();
|
||||
}
|
||||
});
|
||||
}
|
||||
var modal = bootstrap.Modal.getInstance(document.getElementById('exampleModal'));
|
||||
if (modal) {
|
||||
modal.hide();
|
||||
}
|
||||
}
|
||||
});
|
||||
*/
|
||||
|
||||
// Cleanup modal backdrop if needed
|
||||
/* document.body.addEventListener('htmx:beforeSwap', function(evt) {
|
||||
document.body.addEventListener('htmx:beforeSwap', function(evt) {
|
||||
if (evt.detail.target.id === 'main_content') {
|
||||
var backdrops = document.querySelectorAll('.modal-backdrop');
|
||||
backdrops.forEach(function(backdrop) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user