remove unneeded JS alert
fix behavior of alert on edit error in expense types grid
fix handling of adding expense type where description is already used
added expense_type_get_by_name()
fix handling of edit failed for active field
use strs.get() to get locale strings for alert() calls
Refactoring of general types in prepation of adding handling of Person class
- Add GeneralType class, with fields: id, name, active
- renamed types.py --> ExpenseTypes.py
- Moved type fields definition from ExpenseType class to GeneralType class
Refactoring of handling of types in preparation of handling new Person class
- Moved and generalized code from ExpenseTypeController to RequestController
- field names changed for ExpenseType: type_id --> id, description --> name