# companies/urls.py
from django.urls import path
from . import views

urlpatterns = [
    # Company inactive / suspended page
    path('company/inactive/', views.company_inactive, name='company_inactive'),

    # ── Superadmin management panel ──
    path('superadmin/companies/', views.company_list, name='superadmin_company_list'),
    path('superadmin/companies/create/', views.company_create, name='superadmin_company_create'),
    path('superadmin/companies/<slug:slug>/', views.company_detail, name='superadmin_company_detail'),
    path('superadmin/companies/<slug:slug>/toggle/', views.company_toggle, name='superadmin_company_toggle'),
    path('superadmin/companies/<slug:slug>/subscription/', views.company_update_subscription, name='superadmin_company_update_subscription'),
    path('superadmin/server-setup/', views.server_setup, name='superadmin_server_setup'),

    # ── Superadmin 2FA ──
    path('superadmin/2fa/verify/', views.superadmin_2fa_verify, name='superadmin_2fa_verify'),
    path('superadmin/2fa/resend/', views.superadmin_2fa_resend, name='superadmin_2fa_resend'),
]
