-
Notifications
You must be signed in to change notification settings - Fork 624
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
Add button to populate contact info from organization on Campaign Edit page #249
Comments
I take this. |
This is the workflow I'm thinking Contact Fields -- does not have to be a user
|
Organizations have contact info close to your list:
|
NDC note - Looks like this isn't completed and we need to expose a way to copy the contact information for the Org when adding a new campaign. My proposal would be to load the org contact info into the view model and render it near the campaign Primary Contact fields. Add a checkbox to use Org info which is selected hides the specific fields in the UI. We can then use that value to determine what data to save on the post action/handlers. Validation will also need to be reviewed and updated as appropriate. |
I have started looking into this. |
Hey, how are you getting on with this @Diana380? |
We'll consider this open for takers again now. |
I'll take a preliminary look 😄 |
@tonysurma I think I have a handle on this one. Please assign me. @stevejgordon I'm going to implement your proposal above (Jan 17 comment). |
Looks like most of the work has been done already. I found this in the view
The button only appears only if the logged in user is an OrgAdmin. The Administrator@example.com is not an OrgAdmin. Thus no button appears. I think we should simply remove the check for OrgAdmin. The button does more than copy over the Primary Contact information from the organisation. It also copies the location information. Is that okay? If so, we should do some renaming to make this is clear. There is also a question of where to place the button. I think it should be lower down on the page closer to the location and contact information. @stevejgordon @MisterJames Any guidance? |
Rendering the organisation contact information looked like a good idea when I first looked at the issue. When I looked further at the form, there is a drop down for organisations. That would mean that the rendering should change to match the organisation selected. |
Location info should come over as well |
@tonysurma Thanks- I'll have a PR for you tomorrow. |
Fixes #249 Add button to populate contact info from organization on Campaign Edit page
@tonysurma I think this issue can be closed. |
The page should load with contact information from the organization. A button should allow users to easily populate the contact details with that data. From #35.
The text was updated successfully, but these errors were encountered: