mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 22:49:19 +00:00
fix: TDS computation summary report
This commit is contained in:
@@ -180,7 +180,7 @@ def get_advance_vouchers(suppliers, fiscal_year=None, company=None, from_date=No
|
|||||||
if company:
|
if company:
|
||||||
condition += "and company =%s" % (company)
|
condition += "and company =%s" % (company)
|
||||||
if from_date and to_date:
|
if from_date and to_date:
|
||||||
condition += "and posting_date between %s and %s" % (company, from_date, to_date)
|
condition += "and posting_date between %s and %s" % (from_date, to_date)
|
||||||
|
|
||||||
## Appending the same supplier again if length of suppliers list is 1
|
## Appending the same supplier again if length of suppliers list is 1
|
||||||
## since tuple of single element list contains None, For example ('Test Supplier 1', )
|
## since tuple of single element list contains None, For example ('Test Supplier 1', )
|
||||||
|
|||||||
Reference in New Issue
Block a user