1
0
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:
David Bomba 2023-02-07 13:45:05 +11:00
parent 0ff40ff654
commit 60280ae3c6

View File

@ -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();
}
}