user owner guidence added + status and steps fixed

This commit is contained in:
Soheil Hajizadeh
2026-05-02 01:50:45 +03:30
parent 908292b0c3
commit e1115b0632
10 changed files with 842 additions and 101 deletions

View File

@@ -80,7 +80,11 @@ export class PartPricingV2Dto {
@Type(() => DaghiDetailsV2Dto)
daghi: DaghiDetailsV2Dto;
@ApiProperty({ example: false })
@ApiProperty({
example: false,
description:
"If true, the owner must upload a repair factor image for this line; expert confirms cost later (validate-factors). Priced lines omit this or set false.",
})
@IsBoolean()
factorNeeded: boolean;
}
@@ -91,7 +95,11 @@ export class SubmitExpertReplyV2Dto {
@IsNotEmpty()
description: string;
@ApiProperty({ type: [PartPricingV2Dto] })
@ApiProperty({
type: [PartPricingV2Dto],
description:
"Each part: manual pricing and `daghi`; set `factorNeeded` only where a repair factor upload is required from the owner.",
})
@IsArray()
@ValidateNested({ each: true })
@Type(() => PartPricingV2Dto)