Add display_name field to employee CRUD view.

This commit is contained in:
Lance Edgar 2015-05-19 22:18:21 -05:00
parent 4f5c0e6bd8
commit fcfe5f6442

View file

@ -150,6 +150,7 @@ class EmployeeCrud(CrudView):
fs.id.label("ID"), fs.id.label("ID"),
fs.first_name, fs.first_name,
fs.last_name, fs.last_name,
fs.display_name,
fs.phone.label("Phone Number").readonly(), fs.phone.label("Phone Number").readonly(),
fs.email.label("Email Address").readonly(), fs.email.label("Email Address").readonly(),
fs.status.with_renderer(EnumFieldRenderer(EMPLOYEE_STATUS)), fs.status.with_renderer(EnumFieldRenderer(EMPLOYEE_STATUS)),