fix: allow 0 value for quantity

This commit is contained in:
yogesh_gohil
2021-12-08 18:53:26 +05:30
parent 848bbb5953
commit 83c6576033
2 changed files with 3 additions and 3 deletions

View File

@ -347,7 +347,7 @@ const rules = computed(() => {
required: helpers.withMessage(t('validation.required'), required),
between: helpers.withMessage(
t('validation.payment_greater_than_due_amount'),
between(1, paymentStore.currentPayment.maxPayableAmount)
between(0, paymentStore.currentPayment.maxPayableAmount)
),
},
exchange_rate: {