mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Add referral_code to company transformer
This commit is contained in:
parent
49242a1469
commit
e0cda24c09
@ -24,7 +24,9 @@ trait GenerateMigrationResources
|
|||||||
protected function getCompany()
|
protected function getCompany()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
|
'referral_code' => $this->account->referral_code ?: '',
|
||||||
'account_id' => $this->account->id,
|
'account_id' => $this->account->id,
|
||||||
|
'google_analytics_key' => $this->account->analytics_key ?: '',
|
||||||
'industry_id' => $this->account->industry_id,
|
'industry_id' => $this->account->industry_id,
|
||||||
'ip' => $this->account->ip,
|
'ip' => $this->account->ip,
|
||||||
'company_key' => $this->account->account_key,
|
'company_key' => $this->account->account_key,
|
||||||
|
Loading…
Reference in New Issue
Block a user