Skip to content

Commit

Permalink
Merge pull request #2211 from deepeshgarg007/report_change
Browse files Browse the repository at this point in the history
chore: Update conditions
  • Loading branch information
deepeshgarg007 authored Jun 9, 2024
2 parents e2f1f3e + 4db2438 commit d2cb050
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,8 @@ def get_additional_table_columns():


def get_additional_conditions(filters):
additional_conditions = ""
additional_conditions = {}
if filters.get("company_gstin"):
additional_conditions += (
" AND `tabSales Invoice`.company_gstin = %(company_gstin)s"
)
additional_conditions.update({"company_gstin": filters.get("company_gstin")})

return additional_conditions

0 comments on commit d2cb050

Please sign in to comment.