mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-07 05:31:24 +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
|
||||
:label="$t('customers.tax_id')"
|
||||
:error="
|
||||
v$.currentCustomer.tax_id.$error &&
|
||||
v$.currentCustomer.tax_id.$errors[0].$message
|
||||
"
|
||||
:content-loading="isFetchingInitialData"
|
||||
>
|
||||
<BaseInput
|
||||
@@ -171,10 +167,9 @@
|
||||
:content-loading="isFetchingInitialData"
|
||||
type="text"
|
||||
name="tax_id"
|
||||
:invalid="v$.currentCustomer.tax_id.$error"
|
||||
@input="v$.currentCustomer.tax_id.$touch()"
|
||||
/>
|
||||
</BaseInputGroup>
|
||||
|
||||
</BaseInputGrid>
|
||||
</div>
|
||||
|
||||
@@ -663,9 +658,6 @@ const rules = computed(() => {
|
||||
minLength(3)
|
||||
),
|
||||
},
|
||||
tax_id: {
|
||||
required: helpers.withMessage(t('validation.required'), required),
|
||||
},
|
||||
currency_id: {
|
||||
required: helpers.withMessage(t('validation.required'), required),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user