mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Account relation to activity table
This commit is contained in:
parent
54de9d6c07
commit
0841cd2c06
@ -353,6 +353,10 @@ class Activity extends StaticModel
|
||||
return $this->belongsTo(Expense::class)->withTrashed();
|
||||
}
|
||||
|
||||
public function account(): \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||||
{
|
||||
return $this->belongsTo(Account::class);
|
||||
}
|
||||
|
||||
public function recurring_expense(): \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user