This commit is contained in:
David Bomba 2024-01-29 22:58:50 +11:00
parent cad2df6035
commit c4b76a00ba
3 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
5.8.17 5.8.18

View File

@ -34,7 +34,7 @@ class ValidCompanyQuantity implements Rule
return auth()->user()->company()->account->companies->count() < 10; return auth()->user()->company()->account->companies->count() < 10;
} }
return auth()->user()->account->isPaid() && auth()->user()->company()->account->companies->count() < 10 ; return (auth()->user()->account->isPaid() || auth()->user()->account->isTrial()) && auth()->user()->company()->account->companies->count() < 10 ;
} }
/** /**

View File

@ -17,8 +17,8 @@ return [
'require_https' => env('REQUIRE_HTTPS', true), 'require_https' => env('REQUIRE_HTTPS', true),
'app_url' => rtrim(env('APP_URL', ''), '/'), 'app_url' => rtrim(env('APP_URL', ''), '/'),
'app_domain' => env('APP_DOMAIN', 'invoicing.co'), 'app_domain' => env('APP_DOMAIN', 'invoicing.co'),
'app_version' => env('APP_VERSION', '5.8.17'), 'app_version' => env('APP_VERSION', '5.8.18'),
'app_tag' => env('APP_TAG', '5.8.17'), 'app_tag' => env('APP_TAG', '5.8.18'),
'minimum_client_version' => '5.0.16', 'minimum_client_version' => '5.0.16',
'terms_version' => '1.0.1', 'terms_version' => '1.0.1',
'api_secret' => env('API_SECRET', false), 'api_secret' => env('API_SECRET', false),