feat(reports): add localized workspace reports and exports

This commit is contained in:
2026-04-27 16:15:41 +03:30
parent fadf898486
commit e26263e93f
22 changed files with 2029 additions and 8 deletions

20
apps/reports/api/urls.py Normal file
View File

@@ -0,0 +1,20 @@
from django.urls import include, path
from rest_framework.routers import DefaultRouter
from apps.reports.api.views import (
ReportChartView,
ReportDayDetailsView,
ReportExportJobViewSet,
ReportTableView,
)
router = DefaultRouter()
router.register(r"exports", ReportExportJobViewSet, basename="report-export-job")
urlpatterns = [
path("chart/", ReportChartView.as_view(), name="report-chart"),
path("table/", ReportTableView.as_view(), name="report-table"),
path("day-details/", ReportDayDetailsView.as_view(), name="report-day-details"),
path("", include(router.urls)),
]