421 lines
7.0 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",
},
{
"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
2018-04-14 12:38:55 +05:30
}
2016-03-08 18:06:21 +05:30
]
},
{
2018-04-14 12:54:51 +05:30
"label": _("Leaves and Holiday"),
2016-03-08 18:06:21 +05:30
"items": [
2014-05-08 11:43:18 +05:30
{
"type": "doctype",
2018-04-14 12:54:51 +05:30
"name": "Leave Period",
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
2018-04-14 12:54:51 +05:30
"name": "Leave Policy",
},
2014-05-08 11:43:18 +05:30
{
"type": "doctype",
2016-03-08 18:06:21 +05:30
"name": "Leave Application",
2014-05-08 11:43:18 +05:30
},
2018-04-14 12:38:55 +05:30
{
"type": "doctype",
2018-04-14 12:54:51 +05:30
"name": "Leave Allocation",
2018-04-14 12:38:55 +05:30
},
{
"type": "doctype",
2018-04-14 12:54:51 +05:30
"name": "Compensatory Leave Request",
2018-04-14 12:38:55 +05:30
},
{
"type": "doctype",
"name": "Leave Encashment",
},
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
]
},
{
"label": _("Payroll Setup"),
"items": [
{
"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",
},
{
"type": "doctype",
"name": "Employee Tax Exemption Category",
},
{
"type": "doctype",
"name": "Employee Tax Exemption Sub Category"
}
2016-03-08 18:06:21 +05:30
]
},
{
"label": _("Travel and Expense Claim"),
2016-03-08 18:06:21 +05:30
"items": [
{
"type": "doctype",
"name": "Employee Advance",
},
2014-05-08 11:43:18 +05:30
{
"type": "doctype",
2016-03-08 18:06:21 +05:30
"name": "Expense Claim",
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
2016-03-08 18:06:21 +05:30
"name": "Expense Claim Type",
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
"name": "Travel Request",
},
2016-03-08 18:06:21 +05:30
]
},
{
"label": _("Appraisals"),
"items": [
2014-05-08 11:43:18 +05:30
{
"type": "doctype",
2016-03-08 18:06:21 +05:30
"name": "Appraisal",
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
2016-03-08 18:06:21 +05:30
"name": "Appraisal Template",
2014-05-08 11:43:18 +05:30
},
2017-01-31 11:42:44 +05:30
{
"type": "page",
"name": "team-updates",
"label": _("Team Updates")
},
2016-03-08 18:06:21 +05:30
]
},
{
"label": _("Loan Management"),
"icon": "icon-list",
"items": [
{
"type": "doctype",
"name": "Loan Type",
},
{
"type": "doctype",
"name": "Loan Application",
},
{
"type": "doctype",
"name": "Loan"
},
]
},
2018-04-14 12:54:51 +05:30
{
"label": _("Employee Lifecycle"),
"items": [
{
"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"
2018-04-14 12:54:51 +05:30
}
]
},
{
"label": _("Recruitment"),
"items": [
{
"type": "doctype",
"name": "Job Applicant",
},
{
"type": "doctype",
"name": "Job Opening",
},
{
"type": "doctype",
"name": "Job Offer",
},
]
},
2016-03-08 18:06:21 +05:30
{
2016-08-08 16:33:51 +05:30
"label": _("Training"),
2016-03-08 18:06:21 +05:30
"items": [
{
"type": "doctype",
"name": "Training Program"
},
2016-08-08 16:33:51 +05:30
{
"type": "doctype",
"name": "Training Event"
},
{
"type": "doctype",
"name": "Training Result"
},
{
"type": "doctype",
"name": "Training Feedback"
},
2016-03-08 18:06:21 +05:30
]
},
2018-04-14 12:38:55 +05:30
{
"label": _("Shift Management"),
"items": [
{
"type": "doctype",
"name": "Shift Type",
},
{
"type": "doctype",
"name": "Shift Request",
},
{
"type": "doctype",
"name": "Shift Assignment",
}
]
},
2017-01-09 11:34:58 +05:30
{
"label": _("Fleet Management"),
"items": [
{
"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
]
},
{
2016-03-08 18:06:21 +05:30
"label": _("Reports"),
2016-12-07 11:08:48 +05:30
"icon": "fa fa-list",
2014-05-08 11:43:18 +05:30
"items": [
{
"type": "report",
"is_query_report": True,
"name": "Employee Leave Balance",
"doctype": "Leave Application"
},
{
"type": "report",
"is_query_report": True,
"name": "Employee Birthday",
"doctype": "Employee"
},
{
"type": "report",
"is_query_report": True,
"name": "Employees working on a holiday",
"doctype": "Employee"
},
2014-05-08 11:43:18 +05:30
{
"type": "report",
"name": "Employee Information",
"doctype": "Employee"
},
{
"type": "report",
"is_query_report": True,
2017-01-11 19:43:16 +05:30
"name": "Salary Register",
2014-05-08 11:43:18 +05:30
"doctype": "Salary Slip"
},
{
"type": "report",
"is_query_report": True,
"name": "Monthly Attendance Sheet",
"doctype": "Attendance"
},
2017-01-09 11:34:58 +05:30
{
"type": "report",
"is_query_report": True,
"name": "Vehicle Expenses",
"doctype": "Vehicle"
},
2014-05-08 11:43:18 +05:30
]
},
{
"label": _("Help"),
2016-12-07 11:08:48 +05:30
"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"
}
]
},
{
"label": _("Analytics"),
"items": [
{
"type": "report",
"is_query_report": True,
"name": "Department Analytics",
"doctype": "Employee"
},
]
}
2014-05-08 11:43:18 +05:30
]