mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
minor fix for bank transaction relation to expense category
This commit is contained in:
parent
0ff40ff654
commit
60280ae3c6
@ -165,7 +165,7 @@ class BankTransactionRule extends BaseModel
|
|||||||
|
|
||||||
public function expense_category()
|
public function expense_category()
|
||||||
{
|
{
|
||||||
return $this->belongsTo(ExpenseCategory::class)->withTrashed();
|
return $this->belongsTo(ExpenseCategory::class, 'category_id', 'id')->withTrashed();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user