Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
695 B
JavaScript
Raw Normal View History

// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
// License: GNU General Public License v3. See license.txt
2014-02-14 15:47:51 +05:30
frappe.query_reports["Employee Birthday"] = {
2013-05-06 18:37:57 +05:30
"filters": [
{
"fieldname":"month",
2014-04-14 16:25:30 +05:30
"label": __("Month"),
2013-05-06 18:37:57 +05:30
"fieldtype": "Select",
"options": "Jan\nFeb\nMar\nApr\nMay\nJun\nJul\nAug\nSep\nOct\nNov\nDec",
"default": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov",
2014-02-14 15:47:51 +05:30
"Dec"][frappe.datetime.str_to_obj(frappe.datetime.get_today()).getMonth()],
2013-05-06 18:37:57 +05:30
},
{
"fieldname":"company",
2014-04-14 16:25:30 +05:30
"label": __("Company"),
2013-05-06 18:37:57 +05:30
"fieldtype": "Link",
"options": "Company",
"default": frappe.defaults.get_user_default("Company")
2013-05-06 18:37:57 +05:30
}
]
}