mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 14:34:34 -04:00
commit
9251da99bb
@ -204,7 +204,7 @@ class CompanyImport implements ShouldQueue
|
||||
|
||||
$company_owner = $this->company->owner();
|
||||
|
||||
if(Ninja::isFreeHostedClient()){
|
||||
if($this->company->account->isFreeHostedClient()){
|
||||
|
||||
if(count($backup_users) > 1){
|
||||
$this->message = 'Only one user can be in the import for a Free Account';
|
||||
@ -243,7 +243,7 @@ class CompanyImport implements ShouldQueue
|
||||
return false;
|
||||
}
|
||||
|
||||
if(Ninja::isFreeHostedClient() && count($this->backup_file->clients) > config('ninja.quotas.free.clients')){
|
||||
if($this->company->account->isFreeHostedClient() && count($this->backup_file->clients) > config('ninja.quotas.free.clients')){
|
||||
|
||||
$client_count = count($this->backup_file->clients);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user