HimoolERP/apps/statistic/urls.py

22 lines
1.5 KiB
Python
Raw Normal View History

2022-04-07 15:16:09 +08:00
from apps.statistic.views import HomeOverviewViewSet
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')
2021-12-28 17:49:08 +08:00
router.register('finance_statistics', FinanceStatisticViewSet, 'finance_statistic')
2021-12-29 02:07:37 +08:00
router.register('payment_order_detials', PaymentOrderDetialViewSet, 'payment_order_detial')
router.register('collection_order_detials', CollectionOrderDetialViewSet, 'collection_order_detial')
router.register('income_charge_order_detials', IncomeChargeOrderDetialViewSet, 'income_charge_order_detial')
router.register('expenditure_charge_order_detials', ExpenditureChargeOrderDetialViewSet, 'expenditure_charge_order_detial')
router.register('purchase_payment_detials', PurchasePaymentDetialViewSet, 'purchase_payment_detial')
router.register('purchase_return_collection_detials', PurchaseReturnCollectionDetialViewSet, 'purchase_return_collection_detial')
router.register('sales_collection_detials', SalesCollectionDetialViewSet, 'sales_collection_detial')
router.register('sales_return_payment_detials', SalesReturnPaymentDetialViewSet, 'sales_return_payment_detial')
2022-04-07 15:16:09 +08:00
router.register('home_overview', HomeOverviewViewSet, 'home_overview')
2021-11-04 23:49:56 +08:00
urlpatterns = router.urls