Problem/Motivation

VAT numbers can be formatted with dots or spaces, but these don't carry any meaning and would fail validation.

Proposed resolution

Strip dots and spaces from the value before validation, and store it without them as well.

Issue fork vat_number-3577481

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

dieterholvoet created an issue. See original summary.

dieterholvoet’s picture

Status: Active » Needs review
bramdriesen’s picture

Status: Needs review » Reviewed & tested by the community

MR looks good. The online VIES validation tool actually does the same so this would make sense.

  • dieterholvoet committed 83bf1ac8 on 2.0.x
    feat: #3577481 Automatically strip dots and spaces
    
    By: dieterholvoet
    By...
dieterholvoet’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.