Merge pull request #39831 from Nihantra-Patel/fix_payment_period_si
fix: remove cancelled payment entry from Payment Period Based On Invoice Date
This commit is contained in:
commit
20eff568b1
@ -163,7 +163,7 @@ def get_entries(filters):
|
|||||||
"""select
|
"""select
|
||||||
voucher_type, voucher_no, party_type, party, posting_date, debit, credit, remarks, against_voucher
|
voucher_type, voucher_no, party_type, party, posting_date, debit, credit, remarks, against_voucher
|
||||||
from `tabGL Entry`
|
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') and is_cancelled = 0 {0}
|
||||||
""".format(
|
""".format(
|
||||||
get_conditions(filters)
|
get_conditions(filters)
|
||||||
),
|
),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user