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

Enter contact address manually #118

Merged
merged 6 commits into from
Apr 10, 2018
Merged

Conversation

irisfaraway
Copy link
Member

https://eaflood.atlassian.net/browse/WC-113

Overseas users, or users who can't use the postcode lookup for whatever reason, should have the opportunity to enter their address manually.

This should behave the same way as the manual address entry form for the registered address.

Because the postcode page has been set up in a separate branch (#117) references to the contact_postcode_form have been removed for now. So this is probably best tested with an overseas registration if you want a realistic representation of the form in the workflow.

https://eaflood.atlassian.net/browse/WC-113

Overseas users, or users who can't use the postcode lookup for whatever reason, should have the opportunity to enter their address manually.

This should behave the same way as the manual address entry form for the registered address.
Currently this is a copy of the registered address manual forms, but renamed as appropriate.

References to the contact postcode form are commented out until we merge #117
Create a subclass of BaseForm which CompanyAddressManualForm and ContactAddressManualForm inherit from, to reduce dupliation as both forms are very similar. (Turns out there was a lot of duplication!)
@irisfaraway irisfaraway self-assigned this Apr 9, 2018
@Cruikshanks
Copy link
Member

I've had a look, and am happy to approve, but I think they'll be some changes once you merge #117 that are best just done here, which will then invalidate that approval.

Let me know when merged and this branch rebased, and I'll come back and approve then.

If OS Places doesn't have any results for the postcode search, include a link to let users enter the address themselves.
@irisfaraway
Copy link
Member Author

@Cruikshanks That makes sense. I've merged in the postcode bits, so this should be ready for a review now.

@irisfaraway irisfaraway merged commit 14953b4 into master Apr 10, 2018
@irisfaraway irisfaraway deleted the feature/manual-contact-address branch April 10, 2018 08:40
@irisfaraway irisfaraway added the enhancement New feature or request label Oct 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants