Customer tax id validation (#220)

* Remove tax_id validation

* Remove validation leftovers
This commit is contained in:
Darko Gjorgjijoski
2024-11-17 00:17:25 +01:00
committed by GitHub
parent be2e1df442
commit ed4a59574c

View File

@@ -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),
},