forked from Yara724/api
Changed Price units to Rial
This commit is contained in:
@@ -58,7 +58,7 @@ export class PartPricingV2Dto {
|
||||
@ApiPropertyOptional({
|
||||
example: "5000000",
|
||||
description:
|
||||
"Required for change lines; omitted for repair lines. Every supplied amount must be between 100,000 and 10,000,000,000 Toman.",
|
||||
"Required for change lines; omitted for repair lines. Every supplied amount must be between 1,000,000 and 100,000,000,000 Rial.",
|
||||
})
|
||||
@ValidateIf(
|
||||
(part: PartPricingV2Dto) =>
|
||||
@@ -74,7 +74,7 @@ export class PartPricingV2Dto {
|
||||
@ApiProperty({
|
||||
example: "2000000",
|
||||
description:
|
||||
"Labor in Toman (integer string; 100,000 to 10,000,000,000).",
|
||||
"Labor in Rial (integer string; 1,000,000 to 100,000,000,000).",
|
||||
})
|
||||
@IsString()
|
||||
@IsNotEmpty()
|
||||
@@ -84,7 +84,7 @@ export class PartPricingV2Dto {
|
||||
@ApiProperty({
|
||||
example: "7000000",
|
||||
description:
|
||||
"Line total in Toman (integer string; 100,000 to 10,000,000,000).",
|
||||
"Line total in Rial (integer string; 1,000,000 to 100,000,000,000).",
|
||||
})
|
||||
@IsString()
|
||||
@IsNotEmpty()
|
||||
|
||||
Reference in New Issue
Block a user