mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge branch 'v5-develop' of https://github.com/turbo124/invoiceninja into v5-develop
This commit is contained in:
commit
8d3a066ac2
@ -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…
x
Reference in New Issue
Block a user