Toggle visibility of fields in categories presenter

This commit is contained in:
snipe 2017-03-11 05:30:14 -08:00
parent a680541fe8
commit 4e81b97145

View file

@ -30,7 +30,7 @@ class CategoryPresenter extends Presenter
"searchable" => true,
"sortable" => true,
"title" => trans('general.name'),
"visible" => false,
"visible" => true,
"formatter" => 'categoriesLinkFormatter',
],[
"field" => "type",
@ -43,13 +43,13 @@ class CategoryPresenter extends Presenter
"searchable" => false,
"sortable" => false,
"title" => trans('general.assets'),
"visible" => false
"visible" => true
], [
"field" => "accessories_count",
"searchable" => false,
"sortable" => false,
"title" => trans('general.accessories'),
"visible" => false
"visible" => true
], [
"field" => "consumables_count",
"searchable" => false,
@ -74,7 +74,7 @@ class CategoryPresenter extends Presenter
"searchable" => false,
"sortable" => false,
"title" => trans('admin/categories/table.require_acceptance'),
"visible" => false,
"visible" => true,
"formatter" => 'trueFalseFormatter',
], [
"field" => "actions",
@ -82,6 +82,7 @@ class CategoryPresenter extends Presenter
"sortable" => false,
"switchable" => false,
"title" => trans('table.actions'),
"visible" => true,
"formatter" => "categoriesActionsFormatter",
]
];