Merge branch 'v5-develop' of https://github.com/turbo124/invoiceninja into v5-develop
This commit is contained in:
commit
8d3a066ac2
1 changed files with 5 additions and 0 deletions
|
|
@ -228,6 +228,11 @@ class Invoice extends BaseModel
|
|||
return $this->hasMany(Task::class);
|
||||
}
|
||||
|
||||
public function expenses()
|
||||
{
|
||||
return $this->hasMany(Expense::class);
|
||||
}
|
||||
|
||||
public function expense()
|
||||
{
|
||||
return $this->hasOne(Expense::class);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue