fix: Default year start and end dates in reports
diff --git a/erpnext/public/js/utils.js b/erpnext/public/js/utils.js
index cc03eca..d4f1991 100755
--- a/erpnext/public/js/utils.js
+++ b/erpnext/public/js/utils.js
@@ -400,7 +400,7 @@
 		});
 	},
 
-	get_fiscal_year: function(date) {
+	get_fiscal_year: function(date, with_dates) {
 		if(!date) {
 			date = frappe.datetime.get_today();
 		}
@@ -414,7 +414,10 @@
 			async: false,
 			callback: function(r) {
 				if (r.message) {
-					fiscal_year = r.message[0];
+					if (with_dates)
+						fiscal_year = r.message;
+					else
+						fiscal_year = r.message[0];
 				}
 			}
 		});