commit | c15a32094029857f9d845e3e676df8be4139449a | [log] [tgz] |
---|---|---|
author | Deepesh Garg <deepeshgarg6@gmail.com> | Thu Mar 28 12:25:42 2024 +0530 |
committer | Deepesh Garg <deepeshgarg6@gmail.com> | Thu Mar 28 12:25:42 2024 +0530 |
tree | 2001bf95e85577de3206fb31b0ba912a50e36788 | |
parent | 87324c73493a6c2f5cc8b0e121780bd0084bcb19 [diff] |
chore: remove hardcoded FY
diff --git a/erpnext/public/js/sales_trends_filters.js b/erpnext/public/js/sales_trends_filters.js index 9b66f37..2f8e6f9 100644 --- a/erpnext/public/js/sales_trends_filters.js +++ b/erpnext/public/js/sales_trends_filters.js
@@ -44,7 +44,7 @@ label: __("Fiscal Year"), fieldtype: "Link", options: "Fiscal Year", - default: "2023-2024", + default: erpnext.utils.get_fiscal_year(frappe.datetime.get_today()), }, { fieldname: "company",