Skip to content

Commit

Permalink
fix: get withdraw and deposit for erp transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
hrishikesh8848 committed Jan 16, 2025
1 parent b26fe1b commit 531741f
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ def get_bank_transaction(bank_account, company, from_statement_date=None, to_sta
"unallocated_amount",
],
)
if len[bank_transactn_list] == 0:
frappe.msgprint("No records found")

return bank_transactn_list


Expand Down Expand Up @@ -182,7 +185,8 @@ def get_erp_transaction(bank_account, company, from_statement_date=None, to_stat
result.append(payment)
else:
result.append(payment)

if len[result] == 0:
frappe.msgprint("No records found")
return result


Expand Down

0 comments on commit 531741f

Please sign in to comment.