mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Bug fixes
This commit is contained in:
parent
9658f557e8
commit
948af3b3bd
@ -206,6 +206,7 @@ class AccountRepository
|
||||
|
||||
$contact = new Contact;
|
||||
$contact->user_id = $ninjaAccount->users()->first()->id;
|
||||
$contact->account_id = $ninjaAccount->id;
|
||||
$contact->public_id = Auth::user()->account_id;
|
||||
$contact->is_primary = true;
|
||||
foreach (['first_name', 'last_name', 'email', 'phone'] as $field)
|
||||
|
Loading…
x
Reference in New Issue
Block a user