Merge pull request #1539 from CrypticaScriptura/revertcommissions
LAM-875 revert "feat: add ability for negative commissions"
This commit is contained in:
commit
84cc25e370
1 changed files with 2 additions and 2 deletions
|
|
@ -235,12 +235,12 @@ const getSchema = locale => {
|
||||||
return Yup.object().shape({
|
return Yup.object().shape({
|
||||||
cashIn: Yup.number()
|
cashIn: Yup.number()
|
||||||
.label('Cash-in')
|
.label('Cash-in')
|
||||||
.min(-15)
|
.min(0)
|
||||||
.max(percentMax)
|
.max(percentMax)
|
||||||
.required(),
|
.required(),
|
||||||
cashOut: Yup.number()
|
cashOut: Yup.number()
|
||||||
.label('Cash-out')
|
.label('Cash-out')
|
||||||
.min(-15)
|
.min(0)
|
||||||
.max(percentMax)
|
.max(percentMax)
|
||||||
.required(),
|
.required(),
|
||||||
fixedFee: Yup.number()
|
fixedFee: Yup.number()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue