2025-08-20 14:44:43 +03:30
|
|
|
from django.urls import path, include
|
|
|
|
|
from rest_framework.routers import DefaultRouter
|
|
|
|
|
from . import api
|
|
|
|
|
|
|
|
|
|
router = DefaultRouter()
|
|
|
|
|
|
|
|
|
|
router.register(r'inventory_entry', api.InventoryEntryViewSet, basename='inventory_entry')
|
2025-08-26 15:24:46 +03:30
|
|
|
router.register(r'transaction', api.InventoryQuotaSaleTransactionViewSet, basename='transaction')
|
2025-09-21 12:28:21 +03:30
|
|
|
router.register(r'pre_sale', api.QuotaPreSaleItemViewSet, basename='pre_sale')
|
2025-08-20 14:44:43 +03:30
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
|
path('v1/', include(router.urls))
|
|
|
|
|
]
|