from django.urls import path
from . import views
app_name = 'website'

urlpatterns = [
    path('customers/<str:qr_code>/', views.CustomersDetailView.as_view(), name='customer_detail'),
    path('customers/', views.CustomersDetailView.as_view(), name='customer_create'),

    path('', views.dashboard),
    path('login/', views.login, name='login'),
    path('dashboard/', views.dashboard, name='dashboard'),
    path('customer_management/', views.customer_management, name='customer_management'),
    path('customer_details/<int:customer_id>', views.customer_details, name='customer_details'),
    path('batch_history/<int:batch_id>', views.batch_history, name='batch_history'),
    path('qr_code_manager/', views.qr_code_manager, name='qr_code_manager'),
    path('qr_generator/', views.qr_generator, name='qr_generator'),
    path('profile/', views.profile, name='profile'),
    path('staff_profile/<int:staff_id>/', views.staff_profile, name='staff_profile'),
    path('manage_profiles/', views.manage_profiles, name='manage_profiles'),
    path('create_profiles/', views.create_profiles, name='create_profiles'),
    path('contact/', views.contact, name='contact'),
    path('reports/', views.reports, name='reports'),
    path('manage_company_user/', views.manage_company_user, name='manage_company_user'),
    path('category/', views.category, name='category'),
]
