mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 07:54:46 +00:00
Show draft future payments as well
This commit is contained in:
@@ -364,7 +364,7 @@ class ReceivablePayableReport(object):
|
|||||||
on
|
on
|
||||||
(ref.parent = payment_entry.name)
|
(ref.parent = payment_entry.name)
|
||||||
where
|
where
|
||||||
payment_entry.docstatus = 1
|
payment_entry.docstatus < 2
|
||||||
and payment_entry.posting_date > %s
|
and payment_entry.posting_date > %s
|
||||||
and payment_entry.party_type = %s
|
and payment_entry.party_type = %s
|
||||||
""", (self.filters.report_date, self.party_type), as_dict=1)
|
""", (self.filters.report_date, self.party_type), as_dict=1)
|
||||||
@@ -389,7 +389,7 @@ class ReceivablePayableReport(object):
|
|||||||
on
|
on
|
||||||
(jea.parent = je.name)
|
(jea.parent = je.name)
|
||||||
where
|
where
|
||||||
je.docstatus = 1
|
je.docstatus < 2
|
||||||
and je.posting_date > %s
|
and je.posting_date > %s
|
||||||
and jea.party_type = %s
|
and jea.party_type = %s
|
||||||
and jea.reference_name is not null and jea.reference_name != ''
|
and jea.reference_name is not null and jea.reference_name != ''
|
||||||
@@ -685,4 +685,4 @@ class ReceivablePayableReport(object):
|
|||||||
'datasets': rows
|
'datasets': rows
|
||||||
},
|
},
|
||||||
"type": 'percentage'
|
"type": 'percentage'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user