add: add cash transaction fodler model and crud for this model
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
from django.urls import path, include
|
||||
|
||||
from core.apps.finance.views import cash_transaction as cash_views
|
||||
from core.apps.finance.views import cash_transaction_folder as folder_views
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
@@ -9,5 +10,13 @@ urlpatterns = [
|
||||
path('list/', cash_views.CashTransactionListApiView.as_view()),
|
||||
path('create/', cash_views.CashTransactionCreateApiView.as_view()),
|
||||
]
|
||||
))
|
||||
)),
|
||||
path('cash_transaction_folder/', include(
|
||||
[
|
||||
path('create/', folder_views.CashTransactionCreateApiView.as_view()),
|
||||
path('list/', folder_views.CashTransactionFolderListApiView.as_view()),
|
||||
path('<uuid:id>/delete/', folder_views.CashTransactionFolderDeleteApiView.as_view()),
|
||||
path('<uuid:id>/update/', folder_views.CashTransactionFolderUpdateApiView.as_view()),
|
||||
]
|
||||
)),
|
||||
]
|
||||
Reference in New Issue
Block a user