mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-05 18:52:44 +01:00
Fixes for test/demo data
This commit is contained in:
parent
46bb38a20c
commit
502bd4ad2d
@ -286,6 +286,7 @@ class CreateTestData extends Command
|
||||
$company = factory(\App\Models\Company::class)->create([
|
||||
'account_id' => $account->id,
|
||||
'slack_webhook_url' => config('ninja.notification.slack'),
|
||||
'is_large' => true,
|
||||
]);
|
||||
|
||||
$account->default_company_id = $company->id;
|
||||
|
@ -30,7 +30,6 @@ class ClientContactRepository extends BaseRepository
|
||||
} else {
|
||||
$contacts = collect();
|
||||
}
|
||||
info(print_r($client->contacts->toArray(),1));
|
||||
|
||||
$client->contacts->pluck('id')->diff($contacts->pluck('id'))->each(function ($contact) {
|
||||
ClientContact::destroy($contact);
|
||||
|
Loading…
Reference in New Issue
Block a user