Bug #15

Do not allow Businesses to be added again

Added by Colin Sullivan 571 days ago. Updated 536 days ago.

Status:Closed Start:02/11/2009
Priority:Normal Due date:
Assigned to:Josh Elser % Done:

100%

Category:- Spent time: 4.00 hours
Target version:.1
Resolution:

Fixed


Description

Whenever a new business is added, must check to see if business already exists in the database.

Only need to check Business name...if user wants multiple businesses with same name and different address, they will have to put the name of the city in the business name or something.

History

Updated by Josh Elser 557 days ago

  • Assigned to set to Josh Elser
  • Target version set to .1

Updated by Josh Elser 536 days ago

  • % Done changed from 0 to 100
  • Resolution set to Fixed

Implemented through an AJAX call. The method can be accessed through the call `sendValidateRequest( 'name_of_company field' )`, defined in External.js. This method will check the database to make sure that the name doesn't already exist. If it does exist, a javascript alert will pop up, and then highlight the offending text field.

Updated by Josh Elser 536 days ago

  • Status changed from New to Closed

Also available in: Atom PDF