1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-12 22:22:32 +01:00

Set all companies to large when performing migration

This commit is contained in:
David Bomba 2022-03-07 08:58:18 +11:00
parent 2b145e8833
commit cccbdc5355

View File

@ -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]);
}