mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-07 13:41:23 +00:00
Customer tax id validation (#220)
* Remove tax_id validation * Remove validation leftovers
This commit is contained in:
committed by
GitHub
parent
be2e1df442
commit
ed4a59574c
@@ -160,10 +160,6 @@
|
|||||||
|
|
||||||
<BaseInputGroup
|
<BaseInputGroup
|
||||||
:label="$t('customers.tax_id')"
|
:label="$t('customers.tax_id')"
|
||||||
:error="
|
|
||||||
v$.currentCustomer.tax_id.$error &&
|
|
||||||
v$.currentCustomer.tax_id.$errors[0].$message
|
|
||||||
"
|
|
||||||
:content-loading="isFetchingInitialData"
|
:content-loading="isFetchingInitialData"
|
||||||
>
|
>
|
||||||
<BaseInput
|
<BaseInput
|
||||||
@@ -171,10 +167,9 @@
|
|||||||
:content-loading="isFetchingInitialData"
|
:content-loading="isFetchingInitialData"
|
||||||
type="text"
|
type="text"
|
||||||
name="tax_id"
|
name="tax_id"
|
||||||
:invalid="v$.currentCustomer.tax_id.$error"
|
|
||||||
@input="v$.currentCustomer.tax_id.$touch()"
|
|
||||||
/>
|
/>
|
||||||
</BaseInputGroup>
|
</BaseInputGroup>
|
||||||
|
|
||||||
</BaseInputGrid>
|
</BaseInputGrid>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -663,9 +658,6 @@ const rules = computed(() => {
|
|||||||
minLength(3)
|
minLength(3)
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
tax_id: {
|
|
||||||
required: helpers.withMessage(t('validation.required'), required),
|
|
||||||
},
|
|
||||||
currency_id: {
|
currency_id: {
|
||||||
required: helpers.withMessage(t('validation.required'), required),
|
required: helpers.withMessage(t('validation.required'), required),
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user