commit
9251da99bb
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue