fix: remove cancelled payment entry from Payment Period Based On Invoice Date
(cherry picked from commit a2a8a8f2e0c7ca3f62c31ac8834e5a6053aeb87d)
This commit is contained in:
parent
a3ddd326d6
commit
72da3083e6
@ -163,7 +163,7 @@ def get_entries(filters):
|
||||
"""select
|
||||
voucher_type, voucher_no, party_type, party, posting_date, debit, credit, remarks, against_voucher
|
||||
from `tabGL Entry`
|
||||
where company=%(company)s and voucher_type in ('Journal Entry', 'Payment Entry') {0}
|
||||
where company=%(company)s and voucher_type in ('Journal Entry', 'Payment Entry') {0} and is_cancelled = 0
|
||||
""".format(
|
||||
get_conditions(filters)
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user