mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
Merge pull request #859 from bigcapitalhq/rate-quantity-must-be-required
fix: rate and quantity of entries must not be empty
This commit is contained in:
@@ -28,7 +28,6 @@ export class ItemEntryDto {
|
||||
})
|
||||
itemId: number;
|
||||
|
||||
@IsOptional()
|
||||
@IsNotEmpty()
|
||||
@ToNumber()
|
||||
@IsNumber()
|
||||
@@ -38,7 +37,6 @@ export class ItemEntryDto {
|
||||
})
|
||||
rate: number;
|
||||
|
||||
@IsOptional()
|
||||
@IsNotEmpty()
|
||||
@ToNumber()
|
||||
@IsNumber()
|
||||
|
||||
Reference in New Issue
Block a user