Skip to content
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

Search for a contact address by UK postcode #117

Merged
merged 7 commits into from
Apr 10, 2018

Commits on Apr 9, 2018

  1. Search for a contact address by UK postcode

    https://eaflood.atlassian.net/browse/WC-112
    
    "What's the address of the person we should contact?" Add forms to allow UK-based users to enter a postcode so they can search for a contact address. Selection and saving of the contact address will be added in a separate PR to keep things manageable.
    
    This should function the same way as the registered address forms earlier in the process.
    
    Non-UK users or users who choose to enter their addresses manually will see a separate form (to be worked on as a separate feature).
    irisfaraway committed Apr 9, 2018
    Configuration menu
    Copy the full SHA
    95158f7 View commit details
    Browse the repository at this point in the history
  2. Set up contact postcode form

    Currently this is just a copy of the registered address postcode form with names swapped around (and some tweaks to the postcode validator to deal with the two different postcode fields).
    
    References to the manual contact address page have been commented out until that page is created.
    
    Next step is to refactor to remove masses of duplication.
    irisfaraway committed Apr 9, 2018
    Configuration menu
    Copy the full SHA
    8959021 View commit details
    Browse the repository at this point in the history
  3. Rename temp_postcode to temp_company_postcode

    This is the attribute used for looking up registered addresses. Now that we have two temporary postcodes, I've renamed this to be a bit clearer.
    irisfaraway committed Apr 9, 2018
    Configuration menu
    Copy the full SHA
    1d81d73 View commit details
    Browse the repository at this point in the history
  4. Rename and refactor postcode validator

    Make it less specific to certain attributes, and also reduce complexity of the validate method.
    irisfaraway committed Apr 9, 2018
    Configuration menu
    Copy the full SHA
    0920991 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    82f4714 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    63a36bc View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2018

  1. Configuration menu
    Copy the full SHA
    d25d281 View commit details
    Browse the repository at this point in the history