Add display_name
field to employee CRUD view.
This commit is contained in:
parent
4f5c0e6bd8
commit
fcfe5f6442
|
@ -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)),
|
||||||
|
|
Loading…
Reference in a new issue