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

Add referral_code to company transformer

This commit is contained in:
David Bomba 2020-08-28 15:50:10 +10:00
parent 49242a1469
commit e0cda24c09

View File

@ -24,7 +24,9 @@ trait GenerateMigrationResources
protected function getCompany()
{
return [
'referral_code' => $this->account->referral_code ?: '',
'account_id' => $this->account->id,
'google_analytics_key' => $this->account->analytics_key ?: '',
'industry_id' => $this->account->industry_id,
'ip' => $this->account->ip,
'company_key' => $this->account->account_key,