diff --git a/resources/views/locations/view.blade.php b/resources/views/locations/view.blade.php
index 0b6ee1d993..a5821c0d7f 100644
--- a/resources/views/locations/view.blade.php
+++ b/resources/views/locations/view.blade.php
@@ -30,29 +30,14 @@
-
-
- {{ trans('general.id') }} |
- Avatar |
- {{ trans('general.user') }} |
- {{ trans('admin/users/table.title') }} |
- {{ trans('admin/users/table.email') }} |
- {{ trans('admin/users/table.phone') }} |
- {{ trans('admin/users/table.manager') }} |
- Assets |
- Licenses |
- Consumables |
- Accessories |
- {{ trans('general.department') }} |
- {{ trans('table.actions') }} |
-
-
+ data-cookie-id-table="location_usersDetailTable"
+ data-columns="{{ \App\Presenters\UserPresenter::dataTableLayout() }}">
+
@@ -68,27 +53,12 @@
-
-
- {{ trans('general.id') }} |
- {{ trans('admin/hardware/table.image') }} |
- {{ trans('general.name') }} |
- {{ trans('admin/hardware/form.model') }} |
- {{ trans('admin/hardware/form.tag') }} |
- {{ trans('admin/hardware/form.serial') }} |
- {{ trans('general.category') }} |
- {{ trans('general.purchase_cost') }} |
- Checkin/Checkout |
- {{ trans('table.actions') }} |
-
-
+ data-cookie-id-table="location_assetsDetailTable"
+ data-columns="{{ \App\Presenters\AssetPresenter::dataTableLayout() }}">
@@ -143,6 +113,9 @@
@stop
@section('moar_scripts')
-@include ('partials.bootstrap-table', ['exportFile' => 'locations-export', 'search' => true])
+@include ('partials.bootstrap-table', [
+ 'exportFile' => 'locations-export',
+ 'search' => true
+ ])
@stop