diff --git a/app/Providers/AuthServiceProvider.php b/app/Providers/AuthServiceProvider.php index 6783864230..b0f17f2ecc 100644 --- a/app/Providers/AuthServiceProvider.php +++ b/app/Providers/AuthServiceProvider.php @@ -140,6 +140,7 @@ class AuthServiceProvider extends ServiceProvider || $user->can('view', \App\Models\Company::class) || $user->can('view', \App\Models\Manufacturer::class) || $user->can('view', \App\Models\Company::class) + || $user->can('view', \App\Models\CustomField::class) || $user->can('view', \App\Models\Depreciation::class); }); } diff --git a/resources/views/layouts/default.blade.php b/resources/views/layouts/default.blade.php index 054c3744fd..da446d9e27 100644 --- a/resources/views/layouts/default.blade.php +++ b/resources/views/layouts/default.blade.php @@ -524,8 +524,8 @@