Add well and customer detail modal
This commit is contained in:
		
							parent
							
								
									4df61c8a01
								
							
						
					
					
						commit
						810c87e2e0
					
				
					 6 changed files with 668 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -1,6 +1,9 @@
 | 
			
		|||
from django.urls import path
 | 
			
		||||
 | 
			
		||||
from accounts.views import login_view, dashboard, customer_list, add_customer_ajax, edit_customer_ajax, get_customer_data, logout_view
 | 
			
		||||
from accounts.views import (
 | 
			
		||||
    login_view, dashboard, customer_list, add_customer_ajax, edit_customer_ajax, 
 | 
			
		||||
    get_customer_data, get_customer_details, get_customer_wells, get_customer_requests, logout_view
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
app_name = "accounts"
 | 
			
		||||
urlpatterns = [
 | 
			
		||||
| 
						 | 
				
			
			@ -11,4 +14,7 @@ urlpatterns = [
 | 
			
		|||
    path('customers/add/', add_customer_ajax, name='add_customer_ajax'),
 | 
			
		||||
    path('customers/<int:customer_id>/data/', get_customer_data, name='get_customer_data'),
 | 
			
		||||
    path('customers/<int:customer_id>/edit/', edit_customer_ajax, name='edit_customer_ajax'),
 | 
			
		||||
    path('customers/<int:customer_id>/details/', get_customer_details, name='get_customer_details'),
 | 
			
		||||
    path('customers/<int:customer_id>/wells/', get_customer_wells, name='get_customer_wells'),
 | 
			
		||||
    path('customers/<int:customer_id>/requests/', get_customer_requests, name='get_customer_requests'),
 | 
			
		||||
]
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue