Skip to content

Commit

Permalink
fix(financial entry): correct the condition to check for account ID
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethTrecy committed Oct 10, 2023
1 parent e02edca commit 9aecd81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Models/FinancialEntryModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ public function filterList(BaseResourceModel $query_builder, array $options) {
model(ModifierModel::class, false)
->builder()
->select("id")
->whereIn("debit_account_id", $filter_account_id)
->orWhereIn("credit_account_id", $filter_account_id)
->where("debit_account_id", $filter_account_id)
->orWhere("credit_account_id", $filter_account_id)
);
}
}
Expand Down

0 comments on commit 9aecd81

Please sign in to comment.