update migrations and create base migration. set discount and tax to sale invoices
This commit is contained in:
@@ -26,6 +26,14 @@ export class TspProviderCorrectionInvoicePayloadDto {
|
||||
@IsNumber()
|
||||
total_amount: number
|
||||
|
||||
@ApiProperty()
|
||||
@IsNumber()
|
||||
discount_amount: number
|
||||
|
||||
@ApiProperty()
|
||||
@IsNumber()
|
||||
tax_amount: number
|
||||
|
||||
@ApiProperty({ required: true, type: SharedCreateSalesInvoicePaymentsDto })
|
||||
@IsObject()
|
||||
@ValidateNested({ each: true })
|
||||
|
||||
Reference in New Issue
Block a user