From d5a666f49629bc4194fa42fb75b8c9a1d5cdb734 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Fri, 24 Jul 2020 08:00:28 +1000 Subject: [PATCH 1/2] Enabled modules values --- app/Factory/CompanyFactory.php | 2 +- config/ninja.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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' From 62999c766c7721dd88cc467eb28eac580a23aee5 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Fri, 24 Jul 2020 15:58:24 +1000 Subject: [PATCH 2/2] Fixes for index version parameter --- resources/views/index/index.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 @@ Invoice Ninja - + @@ -84,7 +84,7 @@ }); - +