mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 20:30:33 +00:00
fix: opening quantity must be integer.
This commit is contained in:
@@ -70,6 +70,7 @@ const Schema = Yup.object().shape({
|
||||
otherwise: Yup.number().nullable(),
|
||||
}),
|
||||
opening_quantity: Yup.number()
|
||||
.integer()
|
||||
.min(1)
|
||||
.nullable()
|
||||
.label(formatMessage({ id: 'opening_quantity_' })),
|
||||
|
||||
Reference in New Issue
Block a user