Skip to content

Commit

Permalink
revert: date param is unused
Browse files Browse the repository at this point in the history
  • Loading branch information
vorasmit committed Feb 5, 2025
1 parent 45daf96 commit 4c4f266
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions india_compliance/gst_india/api_classes/taxpayer_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,11 +509,10 @@ def fetch_filing_preference(self, fy=None):
).response

@staticmethod
def get_fy(date=None):
# Standard for India as per GST
if not date:
date = frappe.utils.getdate()
def get_fy():
date = frappe.utils.getdate()

# Standard for India as per GST
if date.month < 4:
return f"{date.year - 1}-{str(date.year)[2:]}"

Expand Down

0 comments on commit 4c4f266

Please sign in to comment.