b-b-a / bba-power

1 stars 0 forks source link

Edit Contract - Validation for Contract Status #198

Closed ghost closed 12 years ago

ghost commented 12 years ago

When a contract is created its status is set to "new". The status cannot be changed (by edit) from new unless there is at least one tender and at least one meter on it.

ghost commented 12 years ago

If my testing is correct it seems to be "OR" at present. Must have a Meter AND a Tender.

shaunfreeman commented 12 years ago

This was a logical error!