mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-13 06:32:40 +01: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()
|
||||
{
|
||||
return $this->belongsTo(ExpenseCategory::class)->withTrashed();
|
||||
return $this->belongsTo(ExpenseCategory::class, 'category_id', 'id')->withTrashed();
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user