Skip to content

Commit

Permalink
fix: fiscal year start-end date in GST Balance
Browse files Browse the repository at this point in the history
(cherry picked from commit 1d41831)
  • Loading branch information
Nihantra-Patel authored and mergify[bot] committed Sep 9, 2024
1 parent f94bfa3 commit d495ac4
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: frappe.defaults.get_user_default("year_start_date"),
default: erpnext.utils.get_fiscal_year(frappe.datetime.get_today(), true)[1],
},
{
fieldname: "to_date",
label: __("To Date"),
fieldtype: "Date",
default: frappe.defaults.get_user_default("year_end_date"),
default: erpnext.utils.get_fiscal_year(frappe.datetime.get_today(), true)[2],
},
{
fieldname: "show_summary",
Expand Down

0 comments on commit d495ac4

Please sign in to comment.