HimoolERP/apps/statistic/urls.py

13 lines
560 B
Python
Raw Normal View History

2021-11-04 23:49:56 +08:00
from extensions.routers import *
2021-12-26 23:00:08 +08:00
from apps.statistic.views import *
2021-11-04 23:49:56 +08:00
router = BaseRouter()
2021-12-26 23:00:08 +08:00
router.register('purchase_reports', PurchaseReportViewSet, 'purchase_report')
2021-12-26 23:24:52 +08:00
router.register('sales_reports', SalesReportViewSet, 'sales_report')
2021-12-28 00:26:32 +08:00
router.register('sales_hot_goods', SalesHotGoodsViewSet, 'sales_hot_goods')
2021-12-28 01:25:57 +08:00
router.register('sales_trends', SalesTrendViewSet, 'sales_trend')
router.register('profit_trends', ProfitTrendViewSet, 'profit_trend')
2021-12-28 17:49:08 +08:00
router.register('finance_statistics', FinanceStatisticViewSet, 'finance_statistic')
2021-11-04 23:49:56 +08:00
urlpatterns = router.urls