feat: auto-evaluation update api serializer class changed

This commit is contained in:
xoliqberdiyev
2026-04-17 15:01:25 +05:00
parent 04ef567d5c
commit aa1e4ca6fc
3 changed files with 143 additions and 7 deletions

View File

@@ -71,11 +71,28 @@ class AdminEvaluationrequestView(BaseViewSetMixin, ModelViewSet):
"tex_passport",
]
ordering_fields = [
"id",
"rate_type",
"rate_type_display",
"object_type",
"object_type_display",
"customer_inn_number",
"owner_inn_number",
"tex_passport",
"value_determined",
"rate_goal",
"property_rights",
"form_ownership",
"worked_hours",
"chassi",
"need_delivering",
"location",
"location_name",
"status",
"status_display",
"user",
"created_at",
"updated_at",
"rate_type",
"object_type",
"status",
]
ordering = ["-created_at"]