feat: add ability for negative commissions
This commit is contained in:
parent
06700ced25
commit
dd66f8cc96
1 changed files with 2 additions and 2 deletions
|
|
@ -235,12 +235,12 @@ const getSchema = locale => {
|
|||
return Yup.object().shape({
|
||||
cashIn: Yup.number()
|
||||
.label('Cash-in')
|
||||
.min(0)
|
||||
.min(-15)
|
||||
.max(percentMax)
|
||||
.required(),
|
||||
cashOut: Yup.number()
|
||||
.label('Cash-out')
|
||||
.min(0)
|
||||
.min(-15)
|
||||
.max(percentMax)
|
||||
.required(),
|
||||
fixedFee: Yup.number()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue