From 6a9c5890b16f8e008631e29fdc92e96524aa99c2 Mon Sep 17 00:00:00 2001 From: ismail <=> Date: Mon, 19 May 2025 15:19:45 +0300 Subject: [PATCH] fix the lead and customer issue --- inventory/urls.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inventory/urls.py b/inventory/urls.py index bf1ec23a..2d0f42a9 100644 --- a/inventory/urls.py +++ b/inventory/urls.py @@ -74,15 +74,15 @@ urlpatterns = [ ), # path('dealers//delete/', views.DealerDeleteView.as_view(), name='dealer_delete'), # CRM URLs + path( + "customers/create/", views.CustomerCreateView.as_view(), name="customer_create" + ), path("customers/", views.CustomerListView.as_view(), name="customer_list"), path( "customers//", views.CustomerDetailView.as_view(), name="customer_detail", ), - path( - "customers/create/", views.CustomerCreateView.as_view(), name="customer_create" - ), path( "customers//update/", views.CustomerUpdateView.as_view(), @@ -99,6 +99,7 @@ urlpatterns = [ views.add_note_to_customer, name="add_note_to_customer", ), + path("crm/leads/create/", views.lead_create, name="lead_create"), path('update-lead-actions/', views.update_lead_actions, name='update_lead_actions'), path('crm/leads/lead_tracking/', views.lead_tracking, name='lead_tracking'), path('crm/leads/lead_view/', views.lead_view, name='lead_view'), @@ -107,7 +108,6 @@ urlpatterns = [ path( "crm/leads//view/", views.LeadDetailView.as_view(), name="lead_detail" ), - path("crm/leads/create/", views.lead_create, name="lead_create"), path( "crm/leads//update/", views.LeadUpdateView.as_view(), name="lead_update" ),