Fixed name for transformer value

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-08-14 19:32:50 +01:00
parent ff8ada7a88
commit 4e3379d5ae

View file

@ -87,7 +87,7 @@ class LocationPresenter extends Presenter
'class' => 'css-house-laptop',
],
[
'field' => 'assigned_accessories_count',
'field' => 'accessories_count',
'searchable' => false,
'sortable' => true,
'switchable' => true,
@ -244,13 +244,13 @@ class LocationPresenter extends Presenter
'visible' => false,
],
[
'field' => 'name',
'field' => 'accessory',
'searchable' => false,
'sortable' => false,
'switchable' => true,
'title' => trans('general.name'),
'title' => trans('general.accessory'),
'visible' => true,
'formatter' => 'accessoriesLinkFormatter',
'formatter' => 'accessoriesLinkObjFormatter',
],
[
'field' => 'image',