mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
fix: issues related to PUT operations
This commit is contained in:
@@ -21,7 +21,7 @@ enum DiscountType {
|
||||
Amount = 'amount',
|
||||
}
|
||||
|
||||
class SaleEstimateEntryDto extends ItemEntryDto {}
|
||||
class SaleEstimateEntryDto extends ItemEntryDto { }
|
||||
|
||||
class AttachmentDto {
|
||||
@IsString()
|
||||
@@ -140,6 +140,7 @@ export class CommandSaleEstimateDto {
|
||||
},
|
||||
],
|
||||
})
|
||||
attachments?: AttachmentDto[];
|
||||
|
||||
@IsOptional()
|
||||
@ToNumber()
|
||||
@@ -177,5 +178,5 @@ export class CommandSaleEstimateDto {
|
||||
adjustment?: number;
|
||||
}
|
||||
|
||||
export class CreateSaleEstimateDto extends CommandSaleEstimateDto {}
|
||||
export class EditSaleEstimateDto extends CommandSaleEstimateDto {}
|
||||
export class CreateSaleEstimateDto extends CommandSaleEstimateDto { }
|
||||
export class EditSaleEstimateDto extends CommandSaleEstimateDto { }
|
||||
|
||||
Reference in New Issue
Block a user