diff --git a/erpnext/public/js/utils.js b/erpnext/public/js/utils.js index 7f870be8df92779a054fd66b69f5a41e000c0226..eb87780d969b4e94f436d5db54ca490a44eefe86 100755 --- a/erpnext/public/js/utils.js +++ b/erpnext/public/js/utils.js @@ -411,11 +411,11 @@ $.extend(erpnext.utils, { }); }, - get_fiscal_year: function(date, with_dates=false, boolean=false) { + get_fiscal_year: function (date, with_dates = false, boolean = false) { if (!frappe.boot.setup_complete) { return; } - if(!date) { + if (!date) { date = frappe.datetime.get_today(); }