recurring command

This commit is contained in:
denisdulici
2018-04-27 19:02:42 +03:00
parent ae8e8a32d2
commit 88dba23090
4 changed files with 193 additions and 0 deletions

View File

@ -106,6 +106,11 @@ class Company extends Eloquent
return $this->hasMany('App\Models\Expense\Payment');
}
public function recurring()
{
return $this->hasMany('App\Models\Common\Recurring');
}
public function revenues()
{
return $this->hasMany('App\Models\Income\Revenue');