fix(Non Profit): fetch memberships for 80G certificate by from date only (#28700)
This commit is contained in:
parent
9c60c45acf
commit
0b1808e1ee
@ -82,7 +82,6 @@ class TaxExemption80GCertificate(Document):
|
||||
memberships = frappe.db.get_all('Membership', {
|
||||
'member': self.member,
|
||||
'from_date': ['between', (fiscal_year.year_start_date, fiscal_year.year_end_date)],
|
||||
'to_date': ['between', (fiscal_year.year_start_date, fiscal_year.year_end_date)],
|
||||
'membership_status': ('!=', 'Cancelled')
|
||||
}, ['from_date', 'amount', 'name', 'invoice', 'payment_id'], order_by='from_date')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user