Skip to content

Commit

Permalink
fix: better default date for gst balance report
Browse files Browse the repository at this point in the history
  • Loading branch information
vorasmit committed Sep 9, 2024
1 parent 1d41831 commit 65e48f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions india_compliance/gst_india/report/gst_balance/gst_balance.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ frappe.query_reports["GST Balance"] = {
fieldname: "from_date",
label: __("From Date"),
fieldtype: "Date",
default: erpnext.utils.get_fiscal_year(frappe.datetime.get_today(), true)[1],
default: india_compliance.last_month_start(),
},
{
fieldname: "to_date",
label: __("To Date"),
fieldtype: "Date",
default: erpnext.utils.get_fiscal_year(frappe.datetime.get_today(), true)[2],
default: india_compliance.last_month_end(),
},
{
fieldname: "show_summary",
Expand Down

0 comments on commit 65e48f2

Please sign in to comment.