Remove tax_rates from companyuser model

This commit is contained in:
= 2021-09-10 21:53:59 +10:00
parent 9884d5be6f
commit e0e8c4eed4

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()
{ {