Merge pull request #1021 from bigcapitalhq/fix/payment-amount-decimal-validation
fix(payment-received): allow decimal amounts in paymentAmount validation
This commit is contained in:
@@ -35,7 +35,7 @@ export class PaymentReceivedEntryDto {
|
||||
invoiceId: number;
|
||||
|
||||
@ToNumber()
|
||||
@IsInt()
|
||||
@IsNumber()
|
||||
@IsNotEmpty()
|
||||
paymentAmount: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user