mirror of
https://github.com/himool/HimoolERP.git
synced 2024-11-15 11:58:42 +08:00
12 lines
560 B
Python
12 lines
560 B
Python
from extensions.routers import *
|
|
from apps.statistic.views import *
|
|
|
|
|
|
router = BaseRouter()
|
|
router.register('purchase_reports', PurchaseReportViewSet, 'purchase_report')
|
|
router.register('sales_reports', SalesReportViewSet, 'sales_report')
|
|
router.register('sales_hot_goods', SalesHotGoodsViewSet, 'sales_hot_goods')
|
|
router.register('sales_trends', SalesTrendViewSet, 'sales_trend')
|
|
router.register('profit_trends', ProfitTrendViewSet, 'profit_trend')
|
|
router.register('finance_statistics', FinanceStatisticViewSet, 'finance_statistic')
|
|
urlpatterns = router.urls
|