Accounts Receivable fix for partial payment in pos
This commit is contained in:
parent
cdbd4218a8
commit
aeb68b2899
@ -34,7 +34,7 @@ class AccountsReceivableReport(object):
|
||||
for gle in self.get_entries_till(self.filters.report_date):
|
||||
if self.is_receivable(gle, future_vouchers):
|
||||
outstanding_amount = self.get_outstanding_amount(gle, self.filters.report_date)
|
||||
if abs(outstanding_amount) > 0.01:
|
||||
if abs(outstanding_amount) > 0.0:
|
||||
due_date = self.get_due_date(gle)
|
||||
invoiced_amount = gle.debit if (gle.debit > 0) else 0
|
||||
payment_received = invoiced_amount - outstanding_amount
|
||||
|
Loading…
Reference in New Issue
Block a user