import os
from django.contrib import admin
from django.urls import include, path

urlpatterns = [
    path(os.environ.get("DJANGO_ADMIN_PATH", "admin/").strip("/") + "/", admin.site.urls),
    path("organization/", include("apps.organization.urls")),
    path("employees/", include("apps.employees.urls")),
    path("attendance/", include("apps.attendance.urls")),
    path("leave/", include("apps.leave.urls")),
    path("workflow/", include("apps.workflow.urls")),
    path("payroll/", include("apps.payroll.urls")),
    path("loans/", include("apps.loans.urls")),
    path("exits/", include("apps.exits.urls")),
    path("reports/", include("apps.reports.urls")),
    path("imports/", include("apps.imports.urls")),
    path("", include("apps.core.urls")),
]
