Set all companies to large when performing migration
This commit is contained in:
parent
2b145e8833
commit
cccbdc5355
1 changed files with 2 additions and 1 deletions
|
|
@ -237,7 +237,8 @@ class Import implements ShouldQueue
|
|||
|
||||
//company size check
|
||||
if ($this->company->invoices()->count() > 500 || $this->company->products()->count() > 500 || $this->company->clients()->count() > 500) {
|
||||
$this->company->is_large = true;
|
||||
// $this->company->is_large = true;
|
||||
$this->company->account->companies()->update(['is_large' => true]);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue