mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-29 04:31:08 -04:00
fix: allow 0 value for quantity
This commit is contained in:
@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user