Skip to content
Prev Previous commit
Next Next commit
fix: condition for amounts not reflected in system
  • Loading branch information
nikkothari22 committed Feb 15, 2026
commit 117f35c096d79a7696b215d3281444072b3bc015
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,8 @@ def get_amounts_not_reflected_in_system_for_bank_reconciliation_statement(filter
),
)
.where(
(pe.docstatus == 1) & (pe.paid_from == filters.account)
| (pe.paid_to == filters.account)
((pe.paid_from == filters.account) | (pe.paid_to == filters.account))
& (pe.docstatus == 1)
& (pe.posting_date > filters.report_date)
& (pe.clearance_date <= filters.report_date)
& (pe.company == filters.company)
Expand Down