From acd182e3d23cc544addf0157e2ba10f7d9e0df43 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 18 Jan 2023 13:10:30 -0800 Subject: [PATCH] Added byod to presenter with boolean formatter Signed-off-by: snipe --- app/Presenters/AssetPresenter.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/Presenters/AssetPresenter.php b/app/Presenters/AssetPresenter.php index 5db653c7cb..ccc4a4cf13 100644 --- a/app/Presenters/AssetPresenter.php +++ b/app/Presenters/AssetPresenter.php @@ -250,6 +250,14 @@ class AssetPresenter extends Presenter 'visible' => false, 'title' => trans('general.next_audit_date'), 'formatter' => 'dateDisplayFormatter', + ], [ + 'field' => 'byod', + 'searchable' => false, + 'sortable' => true, + 'visible' => false, + 'title' => trans('general.byod'), + 'formatter' => 'trueFalseFormatter', + ], ];