fix: cassetteless machines
This commit is contained in:
parent
708c952fa5
commit
4456fd68eb
1 changed files with 1 additions and 1 deletions
|
|
@ -20,8 +20,8 @@ const widthsByNumberOfUnits = {
|
||||||
const DenominationsSchema = Yup.object().shape({
|
const DenominationsSchema = Yup.object().shape({
|
||||||
cassette1: Yup.number()
|
cassette1: Yup.number()
|
||||||
.label('Cassette 1')
|
.label('Cassette 1')
|
||||||
.required()
|
|
||||||
.min(1)
|
.min(1)
|
||||||
|
.nullable()
|
||||||
.max(CURRENCY_MAX),
|
.max(CURRENCY_MAX),
|
||||||
cassette2: Yup.number()
|
cassette2: Yup.number()
|
||||||
.label('Cassette 2')
|
.label('Cassette 2')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue