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