385 lines
6.7 KiB
Python
Raw Normal View History

from __future__ import unicode_literals
2014-03-03 15:05:28 +05:30
from frappe import _
2014-05-08 11:43:18 +05:30
def get_data():
return [
{
2016-03-08 18:06:21 +05:30
"label": _("Employee and Attendance"),
2014-05-08 11:43:18 +05:30
"items": [
{
"type": "doctype",
"name": "Employee",
},
2019-01-24 07:15:53 +05:30
{
"type": "doctype",
"name": "Employee Transfer",
},
{
"type": "doctype",
"name": "Employee Promotion",
},
{
"type": "doctype",
"name": "Employee Separation",
},
{
"type": "doctype",
"name": "Employee Onboarding"
},
{
"type": "doctype",
"name": "Employee Separation Template",
},
{
"type": "doctype",
"name": "Employee Onboarding Template"
}
]
},
{
"label": _("Attendance and Leaves"),
"items": [
2014-05-08 11:43:18 +05:30
{
"type": "doctype",
2016-03-08 18:06:21 +05:30
"name": "Employee Attendance Tool",
"hide_count": True
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
"name": "Attendance",
},
2018-04-14 12:38:55 +05:30
{
"type": "doctype",
"name": "Attendance Request",
},
2014-05-08 11:43:18 +05:30
{
"type": "doctype",
2016-03-08 18:06:21 +05:30
"name": "Upload Attendance",
"hide_count": True
2019-01-24 07:15:53 +05:30
},
2014-05-08 11:43:18 +05:30
{
"type": "doctype",
"name": "Leave Application",
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
"name": "Leave Allocation",
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
"name": "Compensatory Leave Request",
2014-05-08 11:43:18 +05:30
},
2018-04-14 12:38:55 +05:30
{
"type": "doctype",
"name": "Leave Encashment",
2018-04-14 12:38:55 +05:30
},
{
"type": "doctype",
"name": "Leave Period",
2018-04-14 12:38:55 +05:30
},
{
"type": "doctype",
"name": "Leave Policy",
2018-04-14 12:38:55 +05:30
},
2014-05-08 11:43:18 +05:30
{
"type": "doctype",
2016-03-08 18:06:21 +05:30
"name":"Leave Type",
2014-05-08 11:43:18 +05:30
},
2016-01-27 17:43:57 +05:30
{
"type": "doctype",
2016-03-08 18:06:21 +05:30
"name": "Holiday List",
2014-05-08 11:43:18 +05:30
},
2016-03-08 18:06:21 +05:30
{
"type": "doctype",
"name": "Leave Block List",
},
2018-04-14 12:38:55 +05:30
]
},
2014-05-08 11:43:18 +05:30
{
2016-03-08 18:06:21 +05:30
"label": _("Payroll"),
2014-05-08 11:43:18 +05:30
"items": [
2018-04-14 12:38:55 +05:30
{
"type": "doctype",
"name": "Salary Structure Assignment",
},
2014-05-08 11:43:18 +05:30
{
"type": "doctype",
2016-03-08 18:06:21 +05:30
"name": "Salary Slip",
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
"name": "Payroll Entry"
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
"name": "Employee Benefit Application",
2018-04-14 12:38:55 +05:30
},
{
"type": "doctype",
"name": "Employee Benefit Claim",
2018-04-14 12:38:55 +05:30
},
{
"type": "doctype",
"name": "Additional Salary",
},
2018-04-14 12:38:55 +05:30
{
"type": "doctype",
"name": "Employee Tax Exemption Declaration",
2018-04-14 12:38:55 +05:30
},
{
"type": "doctype",
"name": "Employee Tax Exemption Proof Submission",
},
{
"type": "doctype",
"name": "Employee Incentive",
},
2018-05-15 19:17:31 +05:30
{
"type": "doctype",
"name": "Retention Bonus",
},
2018-04-14 12:38:55 +05:30
{
"type": "doctype",
"name": "Payroll Period",
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
2016-07-02 12:23:59 +05:30
"name": "Salary Component",
2014-05-08 11:43:18 +05:30
},
2018-04-14 12:38:55 +05:30
{
"type": "doctype",
"name": "Salary Structure",
},
2019-01-24 07:15:53 +05:30
# {
# "type": "doctype",
# "name": "Employee Tax Exemption Category",
# },
# {
# "type": "doctype",
# "name": "Employee Tax Exemption Sub Category"
# }
2016-03-08 18:06:21 +05:30
]
},
{
2019-01-24 07:15:53 +05:30
"label": _("Appraisals, Expense Claims and Loans"),
2016-03-08 18:06:21 +05:30
"items": [
{
"type": "doctype",
2019-01-24 07:15:53 +05:30
"name": "Appraisal",
},
2014-05-08 11:43:18 +05:30
{
"type": "doctype",
2019-01-24 07:15:53 +05:30
"name": "Appraisal Template",
2014-05-08 11:43:18 +05:30
},
{
2019-01-24 07:15:53 +05:30
"type": "page",
"name": "team-updates",
"label": _("Team Updates")
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
2019-01-24 07:15:53 +05:30
"name": "Employee Advance",
},
2014-05-08 11:43:18 +05:30
{
"type": "doctype",
2019-01-24 07:15:53 +05:30
"name": "Expense Claim",
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
2019-01-24 07:15:53 +05:30
"name": "Expense Claim Type",
2014-05-08 11:43:18 +05:30
},
2017-01-31 11:42:44 +05:30
{
2019-01-24 07:15:53 +05:30
"type": "doctype",
"name": "Travel Request",
2017-01-31 11:42:44 +05:30
},
{
"type": "doctype",
"name": "Loan Type",
},
{
"type": "doctype",
"name": "Loan Application",
},
{
"type": "doctype",
"name": "Loan"
},
]
},
2018-04-14 12:54:51 +05:30
{
2019-01-24 07:15:53 +05:30
"label": _("Recruitment and Training"),
2018-04-14 12:54:51 +05:30
"items": [
{
"type": "doctype",
2019-01-24 07:15:53 +05:30
"name": "Job Applicant",
2018-04-14 12:54:51 +05:30
},
{
"type": "doctype",
2019-01-24 07:15:53 +05:30
"name": "Job Opening",
},
{
"type": "doctype",
2019-01-24 07:15:53 +05:30
"name": "Job Offer",
},
{
"type": "doctype",
2019-01-24 07:15:53 +05:30
"name": "Training Program"
},
{
"type": "doctype",
2019-01-24 07:15:53 +05:30
"name": "Training Event"
},
{
"type": "doctype",
2019-01-24 07:15:53 +05:30
"name": "Training Result"
},
{
"type": "doctype",
"name": "Training Feedback"
},
2018-04-14 12:54:51 +05:30
]
},
{
2019-01-24 07:15:53 +05:30
"label": _("Reports"),
"icon": "fa fa-list",
2018-04-14 12:54:51 +05:30
"items": [
{
2019-01-24 07:15:53 +05:30
"type": "report",
"is_query_report": True,
"name": "Employee Leave Balance",
"doctype": "Leave Application"
2018-04-14 12:54:51 +05:30
},
{
2019-01-24 07:15:53 +05:30
"type": "report",
"is_query_report": True,
"name": "Employee Birthday",
"doctype": "Employee"
2018-04-14 12:54:51 +05:30
},
{
2019-01-24 07:15:53 +05:30
"type": "report",
"is_query_report": True,
"name": "Employees working on a holiday",
"doctype": "Employee"
2018-04-14 12:54:51 +05:30
},
{
2019-01-24 07:15:53 +05:30
"type": "report",
"name": "Employee Information",
"doctype": "Employee"
},
2016-08-08 16:33:51 +05:30
{
2019-01-24 07:15:53 +05:30
"type": "report",
"is_query_report": True,
"name": "Salary Register",
"doctype": "Salary Slip"
2016-08-08 16:33:51 +05:30
},
{
2019-01-24 07:15:53 +05:30
"type": "report",
"is_query_report": True,
"name": "Monthly Attendance Sheet",
"doctype": "Attendance"
2016-08-08 16:33:51 +05:30
},
{
2019-01-24 07:15:53 +05:30
"type": "report",
"is_query_report": True,
"name": "Vehicle Expenses",
"doctype": "Vehicle"
},
{
"type": "report",
"is_query_report": True,
"name": "Department Analytics",
"doctype": "Employee"
2016-08-08 16:33:51 +05:30
},
2016-03-08 18:06:21 +05:30
]
},
2018-04-14 12:38:55 +05:30
{
2019-01-24 07:15:53 +05:30
"label": _("Shifts and Fleet Management"),
2018-04-14 12:38:55 +05:30
"items": [
{
"type": "doctype",
"name": "Shift Type",
},
{
"type": "doctype",
"name": "Shift Request",
},
{
"type": "doctype",
"name": "Shift Assignment",
2019-01-24 07:15:53 +05:30
},
2017-01-09 11:34:58 +05:30
{
"type": "doctype",
"name": "Vehicle"
},
{
"type": "doctype",
"name": "Vehicle Log"
},
]
},
2016-03-08 18:06:21 +05:30
{
"label": _("Setup"),
2016-12-07 11:08:48 +05:30
"icon": "fa fa-cog",
2016-03-08 18:06:21 +05:30
"items": [
2014-05-08 11:43:18 +05:30
{
"type": "doctype",
2016-03-08 18:06:21 +05:30
"name": "HR Settings",
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
2016-03-08 18:06:21 +05:30
"name": "Employment Type",
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
2016-03-08 18:06:21 +05:30
"name": "Branch",
},
{
"type": "doctype",
"name": "Department",
},
{
"type": "doctype",
"name": "Designation",
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
2018-04-14 12:54:51 +05:30
"name": "Employee Grade",
},
{
"type": "doctype",
"name": "Daily Work Summary Group"
2018-04-14 12:38:55 +05:30
},
{
"type": "doctype",
2018-04-14 12:54:51 +05:30
"name": "Employee Health Insurance"
2018-04-14 12:38:55 +05:30
},
{
"type": "doctype",
2018-04-14 12:54:51 +05:30
"name": "Staffing Plan",
}
2014-05-08 11:43:18 +05:30
]
},
2019-01-24 07:15:53 +05:30
# {
# "label": _("Help"),
# "icon": "fa fa-facetime-video",
# "items": [
# {
# "type": "help",
# "label": _("Setting up Employees"),
# "youtube_id": "USfIUdZlUhw"
# },
# {
# "type": "help",
# "label": _("Leave Management"),
# "youtube_id": "fc0p_AXebc8"
# },
# {
# "type": "help",
# "label": _("Expense Claims"),
# "youtube_id": "5SZHJF--ZFY"
# }
# ]
# },
2014-05-08 11:43:18 +05:30
]