mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 11:49:10 +00:00
[hotfix] [report] payment period based on invoice date
This commit is contained in:
@@ -18,7 +18,7 @@ def execute(filters=None):
|
|||||||
|
|
||||||
data = []
|
data = []
|
||||||
for d in entries:
|
for d in entries:
|
||||||
against_date = invoice_posting_date_map[d.reference_name] or ""
|
against_date = invoice_posting_date_map.get(d.reference_name) or ""
|
||||||
if d.reference_type=="Purchase Invoice":
|
if d.reference_type=="Purchase Invoice":
|
||||||
payment_amount = flt(d.debit) or -1 * flt(d.credit)
|
payment_amount = flt(d.debit) or -1 * flt(d.credit)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user