b-b-a / bba-power

1 stars 0 forks source link

List of valid contract types - hard coded #212

Closed ghost closed 11 years ago

ghost commented 11 years ago

Contract.js var conTypes = [ 'contract_type-electric-perm', 'contract_type-electric-temp', 'contract_type-gas', 'contract_type-water' ]

The list of valid contract types is in the Tables record of the DB - this list needs to be pulled from the DB or changes made to the list or to the order? will not work.