from django.urls import path
from . import views
from rest_framework.authtoken.views import obtain_auth_token

urlpatterns = [
    # path('get-admin-creation-status/', views.get_admin_creation_status),
    path('sales-dashboard-home/', views.sales_dashboard_home),
    path('sales-customer-search/', views.sales_customer_search),
    path('sales-customer-profiles/', views.sales_customer_profiles),
    path('sales-products/', views.sales_products),
    path('sales-quotations/', views.sales_quotations),
    path('customer-orders/', views.customer_orders),
    path('supply-and-purchasing/', views.supply_and_purchasing),
    path('edit-product-features-and-attributes/',
         views.edit_product_features_and_attributes),
    path('edit-product-components/',
         views.edit_product_components),
    path('edit-product-brands/',
         views.edit_product_brands),
    path('edit-product-pricing/',
         views.edit_product_pricing),
    path('edit-product-discount/',
         views.edit_product_discount),
    path('edit-product-vat/',
         views.edit_product_vat),
    path('create-customer/',
         views.create_customer),
    path('edit-customer/',
         views.edit_customer),
    path('delete-customer/',
         views.delete_customer),
    path('create-sale-outlet/',
         views.create_sale_outlet),
    path('create-sale-quotation/', views.create_sale_quotation),
    path('create-customer-order/', views.create_customer_order),
    path('convert-quotation-to-order/', views.convert_quotation_to_order),
    path('create-sale-order/', views.create_sale_order),
    # path('create-customer-order-payment/', views.create_customer_order_payment),
    path('approve-sale-quotation/', views.approve_sale_quotation),
    path('edit-customer-order/', views.edit_customer_order),
    path('delete-customer-order/', views.delete_customer_order),
    path('delete-sale-quotation/', views.delete_sale_quotation),
    path('create-landed-cost/', views.create_landed_cost),
    path('edit-landed-cost/', views.edit_landed_cost),
    path('delete-landed-cost/', views.delete_landed_cost),
    path('create-purchase-order/', views.create_purchase_order),
    path('delete-purchase-order/', views.delete_purchase_order),
    path('upload-customer-documents/', views.upload_customer_documents),
    path('download-customer-documents/', views.download_customer_documents),
    path('get-customer-order-documents/', views.get_customer_order_documents),
    path('delete-customer-documents/', views.delete_customer_documents),
    path('edit-sale-quotation-items/', views.edit_sale_quotation_items),
    path('sales-get-single-customer-profile/',
         views.sales_get_single_customer_profile),
    path('sales-get-single-quotation/',
         views.sales_get_single_quotation),
    path('sales-get-category-list-to-edit-items/',
         views.sales_get_category_list_to_edit_items),
    path('approve-price-change-quotation/',
         views.approve_price_change_quotation),
    path('get-sale-quotation-creation-items/',
         views.get_sale_quotation_creation_items),
    path('get-single-customer-order/',
         views.get_single_customer_order),
    path('get-supplier-creation-items/',
         views.get_supplier_creation_items),
    path('get-supplier-to-edit/',
         views.get_supplier_to_edit),
    path('get-customer-list-to-send-mail/',
         views.get_customer_list_to_send_mail),
    path('get-customer-list-based-on-type/',
         views.get_customer_list_based_on_type),
    path('agent-orders/',
         views.agent_orders),
    # Performance dashboards
    path('staff-performance-dashboard/', views.staff_performance_dashboard),
    path('management-performance-dashboard/', views.management_performance_dashboard),
    path('sales-team/', views.sales_team),
]
