caljer1 / auto-repair-shop

Automatically exported from code.google.com/p/auto-repair-shop
0 stars 0 forks source link

Not sure what should happen if user hits View Work Order History button w/ no wo's in data store. #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a new customer
2. Enter vehicle information for that customer
3. Hit View Work Order History button.

I'm not quite sure what should happen in this scenario.  The crude solution
would be to display an error message in message area in the side panel when
the View... button is hit.  The elegant solution would be to query the
database for the work order list for the active vehicle and disable the
button if the length is 0.

Original issue reported on code.google.com by bd.gai...@gmail.com on 6 Jun 2009 at 1:08

GoogleCodeExporter commented 9 years ago
Incidentally, this currently causes a program crash with an index error.

Original comment by bd.gai...@gmail.com on 6 Jun 2009 at 5:15

GoogleCodeExporter commented 9 years ago
Set up code so history button is disabled when there are no workorders 
associated
with a vehicle.

Original comment by bd.gai...@gmail.com on 13 Jun 2009 at 5:28