fix - change transaction base from distribution to quota stat
This commit is contained in:
14
apps/warehouse/pos/api/v2/urls.py
Normal file
14
apps/warehouse/pos/api/v2/urls.py
Normal file
@@ -0,0 +1,14 @@
|
||||
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')
|
||||
router.register(r'transaction', api.InventoryQuotaSaleTransactionViewSet, basename='transaction')
|
||||
router.register(r'pre_sale', api.QuotaPreSaleItemViewSet, basename='pre_sale')
|
||||
|
||||
urlpatterns = [
|
||||
path('v2/', include(router.urls))
|
||||
]
|
||||
Reference in New Issue
Block a user