Skip to content

Commit

Permalink
chore: remove print stmts
Browse files Browse the repository at this point in the history
  • Loading branch information
hasnain2808 committed Feb 15, 2021
1 parent ad5ca98 commit 42a0db3
Showing 1 changed file with 0 additions and 8 deletions.
Expand Up @@ -93,8 +93,6 @@ def create_journal_entry_bts( bank_transaction_name, reference_number=None, refe
fieldname=["name", "deposit", "withdrawal", "bank_account"] ,
as_dict=True
)[0]
print(bank_transaction.withdrawal)
print(bank_transaction.deposit)
company_account = frappe.get_value("Bank Account", bank_transaction.bank_account, "account")
account_type = frappe.db.get_value("Account", second_account, "account_type")
if account_type in ["Receivable", "Payable"]:
Expand Down Expand Up @@ -173,7 +171,6 @@ def create_payment_entry_bts( bank_transaction_name, reference_number=None, refe
company_account = frappe.get_value("Bank Account", bank_transaction.bank_account, "account")
company = frappe.get_value("Account", company_account, "company")
payment_entry_dict = {
# "doctype": "Payment Entry",
"company" : company,
"payment_type" : payment_type,
"reference_no" : reference_number,
Expand All @@ -200,11 +197,6 @@ def create_payment_entry_bts( bank_transaction_name, reference_number=None, refe
else:
payment_entry.paid_from = company_account

# payment_entry.insert()
# payment_entry.insert()
print("payment_entry.name")
print(payment_entry.name)

if allow_edit:
return payment_entry

Expand Down

0 comments on commit 42a0db3

Please sign in to comment.