b-b-a / bba-power

1 stars 0 forks source link

New address created within New Site dialog #105

Closed paulmallett closed 12 years ago

paulmallett commented 12 years ago

If the user wants to create a new site, and presses the New Site button, they are required to go back and create a new client address if there isn't an address available that isn't associated with a site.

I propose that the user be able to create a new address from within the New Site wizard. There could be several possible methods; either a 'New Address' button within the dialog box, or a 'New Address...' option within the drop down box. Either of these would invoke the 'New Address' form, and then return the user to the New Site form once completed.

ghost commented 12 years ago

The 'New Address...' option within the drop down box would need to be "live" in some way (i.e. clickable?). A new button to the right of the field is my favourite. E.

shaunfreeman commented 12 years ago

New address in drop down would work, making it live is not a problem and would look nicer than a button to the right.

paulmallett commented 12 years ago

Yes please

shaunfreeman commented 12 years ago

Not perfect but is working for now, ideally I would like to select the newly created address but at the momment it only refreshes the list, so user has to select the new address from the drop down box.

paulmallett commented 12 years ago

From the UI view it has been tested and works great.

No problems in the DB?

ghost commented 12 years ago

Looks good. Once you are back to the Site Dialog - need the Billing Address drop-down updated as well. Please can the site_idClientContact & site_idAddressBill be NULL when they are not set rather than zero in both new and edit modes.

ghost commented 12 years ago

Great. However, I am a bit concerned about the complete lack of feedback to the user while waiting for the various drop downs to be filled - I assume they are done with calls back to the system via an "Ajax" request. Is there not a way of indicating that something is happening and the user cannot continue yet? As the DB gets bigger it will slow down of course.

shaunfreeman commented 12 years ago

in a word, yes.

ghost commented 12 years ago

Is it a big deal to implement now? or does it need to be done in a future version? (My system has developed a "go slow" when talking to the data base (XAMPP setup) so I am seeing a delay at present and it may be a good oportunity to verify any change.)

shaunfreeman commented 12 years ago

I was thinking for V4 maybe. Needs a new separate issue for this.