feat: add mechnic-auto-model
This commit is contained in:
@@ -8,6 +8,7 @@ router = DefaultRouter()
|
||||
router.register("document-category", views.DocumentCategoryView, basename="DocumentCategory")
|
||||
router.register("document", views.DocumentView, basename="Document")
|
||||
router.register("auto-evaluation-history", views.AutoEvaluationHistoryView, basename="auto-evaluation-history")
|
||||
router.register("mechanic-auto-evaluation-history", views.MechanicAutoEvaluationHistoryView, basename="mechanic-auto-evaluation-history")
|
||||
router.register("quick-evaluation-history", views.QuickEvaluationHistoryView, basename="quick-evaluation-history")
|
||||
router.register("determined-value", views.DeterminedValueView, basename="determined-value")
|
||||
router.register("evaluation-purpose", views.EvaluationPurposeView, basename="evaluation-purpose")
|
||||
@@ -22,6 +23,7 @@ router.register("quick-evaluation", views.QuickEvaluationView, basename="quick-e
|
||||
router.register("movable-property-evaluation", views.MovablePropertyEvaluationView, basename="movable-property-evaluation")
|
||||
router.register("real-estate-evaluation", views.RealEstateEvaluationView, basename="real-estate-evaluation")
|
||||
router.register("auto-evaluation", views.AutoEvaluationView, basename="auto-evaluation")
|
||||
router.register("mechanic-auto-evaluation", views.MechanicAutoEvaluationView, basename="mechanic-auto-evaluation")
|
||||
router.register("vehicle", views.VehicleView, basename="vehicle")
|
||||
router.register("valuation", views.ValuationView, basename="valuation")
|
||||
router.register("property-owner", views.PropertyOwnerView, basename="property-owner")
|
||||
@@ -72,6 +74,26 @@ urlpatterns = [
|
||||
]
|
||||
)),
|
||||
|
||||
# Mechanic Auto Evaluation
|
||||
path("mechanic-auto-evaluation/", include(
|
||||
[
|
||||
path("admin/", views.AdminMechanicEvaluationsAPIView.as_view(), name="admin-mechanic-evaluations"),
|
||||
path('archive/', include(
|
||||
[
|
||||
path('<int:pk>/', views.MechanicAutoEvaluationArchiveAPIView.as_view()),
|
||||
path('list/', views.MechanicAutoEvaluationArchivedListAPIView.as_view())
|
||||
]
|
||||
)),
|
||||
path('appraisers/', include(
|
||||
[
|
||||
path("<int:id>/list/", views.MechanicAutoEvaluationListAppraisersView.as_view()),
|
||||
path("<int:id>/set/", views.MechanicAutoEvaluationSetAppraisersView.as_view()),
|
||||
path("<int:id>/remove/", views.MechanicAutoEvaluationRemoveAppraisersView.as_view()),
|
||||
]
|
||||
))
|
||||
]
|
||||
)),
|
||||
|
||||
# Evaluation Request
|
||||
path("evaluation-request/", include(
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user