Merge pull request #6619 from turbo124/v5-develop

Remove tax_rates from companyuser model
This commit is contained in:
David Bomba 2021-09-10 21:54:26 +10:00 committed by GitHub
commit b3209caa7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,10 +56,10 @@ class CompanyUser extends Pivot
return self::class; return self::class;
} }
public function tax_rates() // public function tax_rates()
{ // {
return $this->hasMany(TaxRate::class, 'company_id', 'company_id'); // return $this->hasMany(TaxRate::class, 'company_id', 'company_id');
} // }
public function account() public function account()
{ {