fix: handle loan_repayment's posting_date datetime in bank_clearance_summary report (backport #36004) (#36005)

* fix: handle loan_repayment's posting_date datetime in bank_clearance_summary report (#36004)

(cherry picked from commit 937e1fb0245af291789ccd88f168d0402d9a00d8)

# Conflicts:
#	erpnext/accounts/report/bank_clearance_summary/bank_clearance_summary.py

* chore: resolving conflicts

---------

Co-authored-by: Anand Baburajan <anandbaburajan@gmail.com>
This commit is contained in:
mergify[bot] 2023-07-04 22:46:00 +05:30 committed by GitHub
parent 0a17c78a36
commit 98281341b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,7 +73,7 @@ def get_entries(filters):
return sorted(
entries,
key=lambda k: k[2] or getdate(nowdate()),
key=lambda k: k[2].strftime("%H%M%S") or getdate(nowdate()),
)