From af6f208c43ab560593e77ec4889b8758a6be619a Mon Sep 17 00:00:00 2001 From: snipe Date: Fri, 25 Aug 2017 10:03:05 -0700 Subject: [PATCH] Reordered settings nav --- resources/views/layouts/default.blade.php | 34 +++++++++++++---------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/resources/views/layouts/default.blade.php b/resources/views/layouts/default.blade.php index cdd372774a..b437c79d41 100644 --- a/resources/views/layouts/default.blade.php +++ b/resources/views/layouts/default.blade.php @@ -487,8 +487,13 @@ @endcan - @can('view', \App\Models\Company::class) -
  • @lang('general.companies')
  • + @can('view', \App\Models\AssetModel::class) +
  • @lang('general.asset_models')
  • + @endcan + + + @can('view', \App\Models\Category::class) +
  • @lang('general.categories')
  • @endcan @can('view', \App\Models\Manufacturer::class) @@ -499,18 +504,6 @@
  • @lang('general.suppliers')
  • @endcan - @can('view', \App\Models\Category::class) -
  • @lang('general.categories')
  • - @endcan - - @can('view', \App\Models\AssetModel::class) -
  • @lang('general.asset_models')
  • - @endcan - - @can('view', \App\Models\Depreciation::class) -
  • @lang('general.depreciation')
  • - @endcan - @can('view', \App\Models\Department::class)
  • @lang('general.departments')
  • @endcan @@ -519,6 +512,14 @@
  • @lang('general.locations')
  • @endcan + @can('view', \App\Models\Company::class) +
  • @lang('general.companies')
  • + @endcan + + @can('view', \App\Models\Depreciation::class) +
  • @lang('general.depreciation')
  • + @endcan + @@ -533,7 +534,10 @@