minor fix for bank transaction relation to expense category
This commit is contained in:
parent
0ff40ff654
commit
60280ae3c6
1 changed files with 1 additions and 1 deletions
|
|
@ -165,7 +165,7 @@ class BankTransactionRule extends BaseModel
|
|||
|
||||
public function expense_category()
|
||||
{
|
||||
return $this->belongsTo(ExpenseCategory::class)->withTrashed();
|
||||
return $this->belongsTo(ExpenseCategory::class, 'category_id', 'id')->withTrashed();
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue