-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Person Validaton Accept VAT value #9
Comments
Hi @fabianobonomini, validation depends also on the selected country. Make sure to select Italy as country. Then the tax code should accept only valid Italian tax code (codice fiscale) and not VAT numbers (partita IVA). |
I selected italy. but the bug still there
…On Tue, 7 Dec 2021, 08:53 Manuele Menozzi, ***@***.***> wrote:
Hi @fabianobonomini <https://github.com/fabianobonomini>, validation
depends also on the selected country. Make sure to select Italy as country.
Then the tax code should accept only valid Italian tax code (codice
fiscale) and not VAT numbers (partita IVA).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AV5P4EC2CKX2SX4PR3A3UDTUPW4PJANCNFSM5JQQBEDQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Sorry @fabianobonomini, you're right and I was wrong. After looking at the code I remembered that we did it intentionally to not introduce too much complexity. Yes it's true, individual Italian tax code should not accept VAT numbers (but it should for companies) btw we chose to not enforce this validation to keep it simple. Anyway if you want provide a PR for that we'll be glad to review and merge it. |
Inside the page http://localhost/it/account/address-book/3/edit
as a Person If I try to fill the
sylius_address_taxCode
with a vat number the validation accepts the data.I expected that the taxCode was validated from the plugin. Mabye I am missing something?
Best Regards
Fabiano
The text was updated successfully, but these errors were encountered: