feat: wire contract PDF context and align MechanicAuto with AutoEvaluation

- contract PDF: map report/customer/owner/contract from AutoEvaluationModel
  fields, accept inspection via POST serializer, fetch CBU.uz currency rates
- MechanicAutoEvaluation: add distance_covered, object_owner_residence and
  car_position/body_type/fuel_type/state_car/assessment_task_type FKs; drop
  car_type and single tex_passport_file in favour of multi-file FK model

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
xoliqberdiyev
2026-05-05 18:51:24 +05:00
parent 25e92623fd
commit 80a1f5ff17
10 changed files with 560 additions and 164 deletions

View File

@@ -1 +1,41 @@
Refrence item model'ga "assessment_task_type" kategoriya qo'shish kerak
object_type => Bu hozirda select. Oshanga value qoshish kerak: bus, moto
car_position => Qoshish kerak. Bu hozirda select. /api/v1/reference-item/ apidan value yuboraman
distance_covered => Qoshish kerak. Number. Bosib otilgan masofasi
body_type => Qoshish kerak. Bu hozirda select. /api/v1/reference-item/ apidan value yuboraman
fuel_type => Qoshish kerak. Bu hozirda select. /api/v1/reference-item/ apidan value yuboraman
state_car => Qoshish kerak. Bu hozirda select. /api/v1/reference-item/ apidan value yuboraman
car_type => manashu field ni olib tashlash kerak
tex_passport_file => multiple qilish kerak
assessment_task_type => Baholash vazifasi. Qoshish kerak. Select boladi. /api/v1/reference-item/ apidan value yuboraman
object_owner_residence => Obyekt egasi yashash joyi. Qoshish kerak. string boladi.
manashu fieldlarni detail apidagi serializerga qoshish kerak auto-evaluationda ham va mechnic-auto-evaluationda ham