diff --git a/app/Factory/CompanyFactory.php b/app/Factory/CompanyFactory.php index 56acba7f75ea..38b3f8697c65 100644 --- a/app/Factory/CompanyFactory.php +++ b/app/Factory/CompanyFactory.php @@ -34,7 +34,7 @@ class CompanyFactory //$company->custom_fields = (object) ['invoice1' => '1', 'invoice2' => '2', 'client1'=>'3']; $company->custom_fields = (object) []; $company->subdomain = ''; - $company->enabled_modules = 32767;//8191; //4095 + $company->enabled_modules = config('ninja.enabled_modules'); //32767;//8191; //4095 return $company; } diff --git a/config/ninja.php b/config/ninja.php index 38d93fc5842c..11c7d379abba 100644 --- a/config/ninja.php +++ b/config/ninja.php @@ -26,7 +26,7 @@ return [ 'company_id' => 0, 'hash_salt' => env('HASH_SALT', ''), 'currency_converter_api_key' => env('OPENEXCHANGE_APP_ID',''), - 'enabled_modules' => 4095, + 'enabled_modules' => 32767, 'environment' => env('NINJA_ENVIRONMENT', 'selfhost'), // 'hosted', 'development', 'selfhost', 'reseller' diff --git a/resources/views/index/index.blade.php b/resources/views/index/index.blade.php index 0f79a0238a71..3d44cd0fefd5 100644 --- a/resources/views/index/index.blade.php +++ b/resources/views/index/index.blade.php @@ -5,7 +5,7 @@