mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Added Dept field to users table presenter
This commit is contained in:
parent
aeca549bab
commit
f285bd3c29
|
@ -86,6 +86,15 @@ class UserPresenter extends Presenter
|
||||||
"title" => trans('admin/users/table.employee_num'),
|
"title" => trans('admin/users/table.employee_num'),
|
||||||
"visible" => false
|
"visible" => false
|
||||||
],
|
],
|
||||||
|
[
|
||||||
|
"field" => "department",
|
||||||
|
"searchable" => true,
|
||||||
|
"sortable" => true,
|
||||||
|
"switchable" => true,
|
||||||
|
"title" => trans('general.department'),
|
||||||
|
"visible" => true,
|
||||||
|
"formatter" => "departmentsLinkObjFormatter"
|
||||||
|
],
|
||||||
[
|
[
|
||||||
"field" => "location",
|
"field" => "location",
|
||||||
"searchable" => true,
|
"searchable" => true,
|
||||||
|
|
Loading…
Reference in a new issue