blob: f517a5e7c04833125973ba46071dfd4863873798 [file] [log] [blame]
Anand Doshid57e7932015-02-24 12:24:53 +05301from __future__ import unicode_literals
Anand Doshif5794f12014-03-03 15:05:28 +05302from frappe import _
3
Anand Doshi08ef4672014-05-08 11:43:18 +05304def get_data():
5 return [
6 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +05307 "label": _("Employee and Attendance"),
Anand Doshi08ef4672014-05-08 11:43:18 +05308 "items": [
9 {
10 "type": "doctype",
11 "name": "Employee",
Prateeksha Singh34234072019-02-07 09:18:24 +053012 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +053013 },
14 {
15 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +053016 "name": "Employee Attendance Tool",
17 "hide_count": True,
18 "onboard": 1,
19 "dependencies": ["Employee"]
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +053020 },
21 {
22 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +053023 "name": "Attendance",
24 "onboard": 1,
25 "dependencies": ["Employee"]
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +053026 },
27 {
28 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +053029 "name": "Attendance Request",
30 "dependencies": ["Employee"]
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +053031 },
32 {
33 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +053034 "name": "Upload Attendance",
35 "hide_count": True,
36 "dependencies": ["Employee"]
37 },
38 ]
39 },
40 {
41 "label": _("Payroll"),
42 "items": [
43 {
44 "type": "doctype",
45 "name": "Salary Structure",
46 "onboard": 1,
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +053047 },
48 {
49 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +053050 "name": "Salary Structure Assignment",
51 "onboard": 1,
52 "dependencies": ["Salary Structure", "Employee"],
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +053053 },
54 {
55 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +053056 "name": "Salary Slip",
57 "onboard": 1,
58 },
59 {
60 "type": "doctype",
61 "name": "Payroll Entry",
62 "onboard": 1,
63 },
64 {
65 "type": "doctype",
66 "name": "Employee Benefit Application",
67 "dependencies": ["Employee"]
68 },
69 {
70 "type": "doctype",
71 "name": "Employee Benefit Claim",
72 "dependencies": ["Employee"]
73 },
74 {
75 "type": "doctype",
76 "name": "Additional Salary",
77 },
78 {
79 "type": "doctype",
80 "name": "Employee Tax Exemption Declaration",
81 "dependencies": ["Employee"]
82 },
83 {
84 "type": "doctype",
85 "name": "Employee Tax Exemption Proof Submission",
86 "dependencies": ["Employee"]
87 },
88 {
89 "type": "doctype",
90 "name": "Employee Incentive",
91 "dependencies": ["Employee"]
92 },
93 {
94 "type": "doctype",
95 "name": "Retention Bonus",
96 "dependencies": ["Employee"]
97 },
98 {
99 "type": "doctype",
100 "name": "Payroll Period",
101 },
102 {
103 "type": "doctype",
104 "name": "Salary Component",
105 },
106 ]
107 },
108 {
Prateeksha Singh9d4a1832019-02-11 15:14:50 +0530109 "label": _("Settings"),
Prateeksha Singh34234072019-02-07 09:18:24 +0530110 "icon": "fa fa-cog",
111 "items": [
112 {
113 "type": "doctype",
114 "name": "HR Settings",
115 },
116 {
117 "type": "doctype",
118 "name": "Employment Type",
119 },
120 {
121 "type": "doctype",
122 "name": "Branch",
123 },
124 {
125 "type": "doctype",
126 "name": "Department",
127 },
128 {
129 "type": "doctype",
130 "name": "Designation",
131 },
132 {
133 "type": "doctype",
134 "name": "Employee Grade",
135 },
136 {
137 "type": "doctype",
138 "name": "Daily Work Summary Group"
139 },
140 {
141 "type": "doctype",
142 "name": "Employee Health Insurance"
143 },
144 {
145 "type": "doctype",
146 "name": "Staffing Plan",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530147 }
148 ]
149 },
150
151 {
Prateeksha Singh34234072019-02-07 09:18:24 +0530152 "label": _("Leaves"),
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530153 "items": [
154 {
155 "type": "doctype",
Nabin Haitfcdca7f2018-04-14 12:54:51 +0530156 "name": "Leave Application",
Prateeksha Singh34234072019-02-07 09:18:24 +0530157 "dependencies": ["Employee"]
Nabin Haitfcdca7f2018-04-14 12:54:51 +0530158 },
159 {
160 "type": "doctype",
161 "name": "Leave Allocation",
Prateeksha Singh34234072019-02-07 09:18:24 +0530162 "dependencies": ["Employee"]
Nabin Haitfcdca7f2018-04-14 12:54:51 +0530163 },
164 {
165 "type": "doctype",
166 "name": "Compensatory Leave Request",
Prateeksha Singh34234072019-02-07 09:18:24 +0530167 "dependencies": ["Employee"]
Nabin Haitfcdca7f2018-04-14 12:54:51 +0530168 },
169 {
170 "type": "doctype",
Nabin Haitf914bd32018-04-14 12:38:55 +0530171 "name": "Leave Encashment",
Prateeksha Singh34234072019-02-07 09:18:24 +0530172 "dependencies": ["Employee"]
Nabin Haitf914bd32018-04-14 12:38:55 +0530173 },
174 {
175 "type": "doctype",
Rushabh Mehta20fd2dd2018-08-30 09:21:54 +0530176 "name": "Leave Period",
Prateeksha Singh34234072019-02-07 09:18:24 +0530177 "dependencies": ["Employee"]
Rushabh Mehta20fd2dd2018-08-30 09:21:54 +0530178 },
179 {
180 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530181 "name":"Leave Type",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530182 },
183 {
184 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530185 "name": "Leave Policy",
186 "dependencies": ["Leave Type"]
187 },
188 {
189 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530190 "name": "Holiday List",
Anand Doshi08ef4672014-05-08 11:43:18 +0530191 },
192 {
193 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530194 "name": "Leave Block List",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530195 },
Nabin Haitf914bd32018-04-14 12:38:55 +0530196 ]
197 },
198 {
Prateeksha Singh34234072019-02-07 09:18:24 +0530199 "label": _("Recruitment and Training"),
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530200 "items": [
201 {
202 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530203 "name": "Job Applicant",
204 "onboard": 1,
Nabin Haitf914bd32018-04-14 12:38:55 +0530205 },
206 {
207 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530208 "name": "Job Opening",
209 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +0530210 },
211 {
212 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530213 "name": "Job Offer",
214 "onboard": 1,
Nabin Haitf914bd32018-04-14 12:38:55 +0530215 },
216 {
217 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530218 "name": "Training Program"
Nabin Haitf914bd32018-04-14 12:38:55 +0530219 },
220 {
221 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530222 "name": "Training Event"
Nabin Haitf914bd32018-04-14 12:38:55 +0530223 },
224 {
225 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530226 "name": "Training Result"
Jamsheer398f1572018-06-04 11:02:53 +0530227 },
228 {
229 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530230 "name": "Training Feedback"
231 },
232 ]
233 },
234 {
235 "label": _("Employee Lifecycle"),
236 "items": [
237 {
238 "type": "doctype",
239 "name": "Employee Transfer",
240 "dependencies": ["Employee"],
Nabin Hait55184482018-04-14 17:04:56 +0530241 },
242 {
243 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530244 "name": "Employee Promotion",
245 "dependencies": ["Employee"],
Nabin Hait55184482018-04-14 17:04:56 +0530246 },
247 {
248 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530249 "name": "Employee Separation",
250 "dependencies": ["Employee"],
Nabin Hait55184482018-04-14 17:04:56 +0530251 },
Ranjith819c3b12018-05-15 19:17:31 +0530252 {
253 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530254 "name": "Employee Onboarding",
255 "dependencies": ["Job Applicant"],
Ranjith819c3b12018-05-15 19:17:31 +0530256 },
Nabin Haitf914bd32018-04-14 12:38:55 +0530257 {
258 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530259 "name": "Employee Separation Template",
260 "dependencies": ["Employee"]
Anand Doshi08ef4672014-05-08 11:43:18 +0530261 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530262 {
263 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530264 "name": "Employee Onboarding Template",
265 "dependencies": ["Employee"]
266 }
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530267 ]
268 },
269 {
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530270 "label": _("Appraisals, Expense Claims and Loans"),
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530271 "items": [
272 {
273 "type": "doctype",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530274 "name": "Appraisal",
275 },
276 {
277 "type": "doctype",
278 "name": "Appraisal Template",
279 },
280 {
281 "type": "page",
282 "name": "team-updates",
283 "label": _("Team Updates")
284 },
285 {
286 "type": "doctype",
Nabin Haitd0249b02017-12-14 13:25:57 +0530287 "name": "Employee Advance",
Prateeksha Singh34234072019-02-07 09:18:24 +0530288 "dependencies": ["Employee"]
Manas Solanki5b34c002018-05-16 18:09:43 +0530289 },
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530290 {
291 "type": "doctype",
292 "name": "Loan Type",
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530293 },
294 {
295 "type": "doctype",
Shreya Shah4dc453d2018-04-24 12:19:36 +0530296 "name": "Loan Application",
Prateeksha Singh34234072019-02-07 09:18:24 +0530297 "dependencies": ["Employee"]
Neil Trini Lasrado984ee372016-08-08 16:33:51 +0530298 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530299 ]
300 },
Nabin Haitf914bd32018-04-14 12:38:55 +0530301 {
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530302 "label": _("Reports"),
303 "icon": "fa fa-list",
304 "items": [
305 {
306 "type": "report",
307 "is_query_report": True,
308 "name": "Employee Leave Balance",
309 "doctype": "Leave Application"
310 },
311 {
312 "type": "report",
313 "is_query_report": True,
314 "name": "Employee Birthday",
315 "doctype": "Employee"
316 },
317 {
318 "type": "report",
319 "is_query_report": True,
320 "name": "Employees working on a holiday",
321 "doctype": "Employee"
322 },
323 {
324 "type": "report",
325 "name": "Employee Information",
326 "doctype": "Employee"
327 },
328 {
329 "type": "report",
330 "is_query_report": True,
331 "name": "Salary Register",
332 "doctype": "Salary Slip"
333 },
334 {
335 "type": "report",
336 "is_query_report": True,
337 "name": "Monthly Attendance Sheet",
338 "doctype": "Attendance"
339 },
340 {
341 "type": "report",
342 "is_query_report": True,
343 "name": "Vehicle Expenses",
344 "doctype": "Vehicle"
345 },
346 {
347 "type": "report",
348 "is_query_report": True,
349 "name": "Department Analytics",
350 "doctype": "Employee"
351 },
352 ]
353 },
354 {
355 "label": _("Shifts and Fleet Management"),
Nabin Haitf914bd32018-04-14 12:38:55 +0530356 "items": [
357 {
358 "type": "doctype",
359 "name": "Shift Type",
360 },
361 {
362 "type": "doctype",
363 "name": "Shift Request",
364 },
365 {
366 "type": "doctype",
367 "name": "Shift Assignment",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530368 },
Kanchan Chauhanf80c2b92017-01-09 11:34:58 +0530369 {
370 "type": "doctype",
371 "name": "Vehicle"
372 },
373 {
374 "type": "doctype",
375 "name": "Vehicle Log"
376 },
377 ]
378 },
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530379 # {
380 # "label": _("Help"),
381 # "icon": "fa fa-facetime-video",
382 # "items": [
383 # {
384 # "type": "help",
385 # "label": _("Setting up Employees"),
386 # "youtube_id": "USfIUdZlUhw"
387 # },
388 # {
389 # "type": "help",
390 # "label": _("Leave Management"),
391 # "youtube_id": "fc0p_AXebc8"
392 # },
393 # {
394 # "type": "help",
395 # "label": _("Expense Claims"),
396 # "youtube_id": "5SZHJF--ZFY"
397 # }
398 # ]
399 # },
Anand Doshi08ef4672014-05-08 11:43:18 +0530400 ]