This commit is contained in:
2026-02-21 12:18:29 +03:30
parent f682465d4c
commit 1acae30b75
6 changed files with 31 additions and 9 deletions
@@ -11,6 +11,7 @@ import {
} from 'class-validator';
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
import { Type } from 'class-transformer';
import { IAttachment } from 'src/modules/order/interface/order.interface';
export class CreateInvoiceItemDto {
@IsString()
@@ -65,4 +66,14 @@ export class CreateInvoiceDto {
@IsDateString()
@ApiPropertyOptional({ description: 'Approval deadline (ISO date string)' })
approvalDeadline?: string;
@ApiPropertyOptional()
@IsString()
paymentMethod?: string
// @IsArray()
// @Type(() => IAttachment)
// @ApiProperty({ type: [IAttachment] })
// attachments: IAttachment[];
}