Skip to content

Commit

Permalink
Merge pull request #37951 from frappe/mergify/bp/version-14/pr-37948
Browse files Browse the repository at this point in the history
fix: typo in AR report (backport #37948)
  • Loading branch information
ruthra-kumar authored Nov 6, 2023
2 parents 94b38b9 + d54e756 commit 3cc5e55
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def init_voucher_balance(self):
for ple in self.ple_entries:
# get the balance object for voucher_type

if self.filters.get("ingore_accounts"):
if self.filters.get("ignore_accounts"):
key = (ple.voucher_type, ple.voucher_no, ple.party)
else:
key = (ple.account, ple.voucher_type, ple.voucher_no, ple.party)
Expand Down Expand Up @@ -188,7 +188,7 @@ def get_voucher_balance(self, ple):
):
return

if self.filters.get("ingore_accounts"):
if self.filters.get("ignore_accounts"):
key = (ple.against_voucher_type, ple.against_voucher_no, ple.party)
else:
key = (ple.account, ple.against_voucher_type, ple.against_voucher_no, ple.party)
Expand All @@ -200,7 +200,7 @@ def get_voucher_balance(self, ple):
if ple.against_voucher_no in self.return_entries:
return_against = self.return_entries.get(ple.against_voucher_no)
if return_against:
if self.filters.get("ingore_accounts"):
if self.filters.get("ignore_accounts"):
key = (ple.against_voucher_type, return_against, ple.party)
else:
key = (ple.account, ple.against_voucher_type, return_against, ple.party)
Expand All @@ -209,7 +209,7 @@ def get_voucher_balance(self, ple):

if not row:
# no invoice, this is an invoice / stand-alone payment / credit note
if self.filters.get("ingore_accounts"):
if self.filters.get("ignore_accounts"):
row = self.voucher_balance.get((ple.voucher_type, ple.voucher_no, ple.party))
else:
row = self.voucher_balance.get((ple.account, ple.voucher_type, ple.voucher_no, ple.party))
Expand Down

0 comments on commit 3cc5e55

Please sign in to comment.