Anand Doshi | d57e793 | 2015-02-24 12:24:53 +0530 | [diff] [blame] | 1 | from __future__ import unicode_literals |
Anand Doshi | f5794f1 | 2014-03-03 15:05:28 +0530 | [diff] [blame] | 2 | from frappe import _ |
| 3 | |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 4 | def get_data(): |
| 5 | return [ |
| 6 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 7 | "label": _("Employee and Attendance"), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 8 | "items": [ |
| 9 | { |
| 10 | "type": "doctype", |
| 11 | "name": "Employee", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 12 | }, |
| 13 | { |
| 14 | "type": "doctype", |
Prateeksha Singh | 7cd6ebe | 2019-01-24 07:15:53 +0530 | [diff] [blame] | 15 | "name": "Employee Transfer", |
| 16 | }, |
| 17 | { |
| 18 | "type": "doctype", |
| 19 | "name": "Employee Promotion", |
| 20 | }, |
| 21 | { |
| 22 | "type": "doctype", |
| 23 | "name": "Employee Separation", |
| 24 | }, |
| 25 | { |
| 26 | "type": "doctype", |
| 27 | "name": "Employee Onboarding" |
| 28 | }, |
| 29 | { |
| 30 | "type": "doctype", |
| 31 | "name": "Employee Separation Template", |
| 32 | }, |
| 33 | { |
| 34 | "type": "doctype", |
| 35 | "name": "Employee Onboarding Template" |
| 36 | } |
| 37 | ] |
| 38 | }, |
| 39 | |
| 40 | { |
| 41 | "label": _("Attendance and Leaves"), |
| 42 | "items": [ |
| 43 | { |
| 44 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 45 | "name": "Employee Attendance Tool", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 46 | "hide_count": True |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 47 | }, |
| 48 | { |
| 49 | "type": "doctype", |
| 50 | "name": "Attendance", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 51 | }, |
| 52 | { |
| 53 | "type": "doctype", |
Nabin Hait | f914bd3 | 2018-04-14 12:38:55 +0530 | [diff] [blame] | 54 | "name": "Attendance Request", |
| 55 | }, |
| 56 | { |
| 57 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 58 | "name": "Upload Attendance", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 59 | "hide_count": True |
Prateeksha Singh | 7cd6ebe | 2019-01-24 07:15:53 +0530 | [diff] [blame] | 60 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 61 | { |
| 62 | "type": "doctype", |
Nabin Hait | fcdca7f | 2018-04-14 12:54:51 +0530 | [diff] [blame] | 63 | "name": "Leave Application", |
| 64 | }, |
| 65 | { |
| 66 | "type": "doctype", |
| 67 | "name": "Leave Allocation", |
| 68 | }, |
| 69 | { |
| 70 | "type": "doctype", |
| 71 | "name": "Compensatory Leave Request", |
| 72 | }, |
| 73 | { |
| 74 | "type": "doctype", |
Nabin Hait | f914bd3 | 2018-04-14 12:38:55 +0530 | [diff] [blame] | 75 | "name": "Leave Encashment", |
| 76 | }, |
| 77 | { |
| 78 | "type": "doctype", |
Rushabh Mehta | 20fd2dd | 2018-08-30 09:21:54 +0530 | [diff] [blame] | 79 | "name": "Leave Period", |
| 80 | }, |
| 81 | { |
| 82 | "type": "doctype", |
| 83 | "name": "Leave Policy", |
| 84 | }, |
| 85 | { |
| 86 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 87 | "name":"Leave Type", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 88 | }, |
| 89 | { |
| 90 | "type": "doctype", |
| 91 | "name": "Holiday List", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 92 | }, |
| 93 | { |
| 94 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 95 | "name": "Leave Block List", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 96 | }, |
Nabin Hait | f914bd3 | 2018-04-14 12:38:55 +0530 | [diff] [blame] | 97 | ] |
| 98 | }, |
| 99 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 100 | "label": _("Payroll"), |
| 101 | "items": [ |
| 102 | { |
| 103 | "type": "doctype", |
Nabin Hait | f914bd3 | 2018-04-14 12:38:55 +0530 | [diff] [blame] | 104 | "name": "Salary Structure Assignment", |
| 105 | }, |
| 106 | { |
| 107 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 108 | "name": "Salary Slip", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 109 | }, |
| 110 | { |
| 111 | "type": "doctype", |
Nabin Hait | 5518448 | 2018-04-14 17:04:56 +0530 | [diff] [blame] | 112 | "name": "Payroll Entry" |
Nabin Hait | f914bd3 | 2018-04-14 12:38:55 +0530 | [diff] [blame] | 113 | }, |
| 114 | { |
| 115 | "type": "doctype", |
| 116 | "name": "Employee Benefit Application", |
| 117 | }, |
| 118 | { |
| 119 | "type": "doctype", |
Nabin Hait | 5518448 | 2018-04-14 17:04:56 +0530 | [diff] [blame] | 120 | "name": "Employee Benefit Claim", |
Nabin Hait | f914bd3 | 2018-04-14 12:38:55 +0530 | [diff] [blame] | 121 | }, |
| 122 | { |
| 123 | "type": "doctype", |
Jamsheer | 398f157 | 2018-06-04 11:02:53 +0530 | [diff] [blame] | 124 | "name": "Additional Salary", |
| 125 | }, |
| 126 | { |
| 127 | "type": "doctype", |
Nabin Hait | f914bd3 | 2018-04-14 12:38:55 +0530 | [diff] [blame] | 128 | "name": "Employee Tax Exemption Declaration", |
Nabin Hait | 5518448 | 2018-04-14 17:04:56 +0530 | [diff] [blame] | 129 | }, |
| 130 | { |
| 131 | "type": "doctype", |
| 132 | "name": "Employee Tax Exemption Proof Submission", |
| 133 | }, |
| 134 | { |
| 135 | "type": "doctype", |
| 136 | "name": "Employee Incentive", |
| 137 | }, |
Ranjith | 819c3b1 | 2018-05-15 19:17:31 +0530 | [diff] [blame] | 138 | { |
| 139 | "type": "doctype", |
| 140 | "name": "Retention Bonus", |
| 141 | }, |
Nabin Hait | f914bd3 | 2018-04-14 12:38:55 +0530 | [diff] [blame] | 142 | { |
| 143 | "type": "doctype", |
| 144 | "name": "Payroll Period", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 145 | }, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 146 | { |
| 147 | "type": "doctype", |
Kanchan Chauhan | d963b76 | 2016-07-02 12:23:59 +0530 | [diff] [blame] | 148 | "name": "Salary Component", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 149 | }, |
Nabin Hait | f914bd3 | 2018-04-14 12:38:55 +0530 | [diff] [blame] | 150 | { |
| 151 | "type": "doctype", |
| 152 | "name": "Salary Structure", |
| 153 | }, |
Prateeksha Singh | 7cd6ebe | 2019-01-24 07:15:53 +0530 | [diff] [blame] | 154 | # { |
| 155 | # "type": "doctype", |
| 156 | # "name": "Employee Tax Exemption Category", |
| 157 | # }, |
| 158 | # { |
| 159 | # "type": "doctype", |
| 160 | # "name": "Employee Tax Exemption Sub Category" |
| 161 | # } |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 162 | ] |
| 163 | }, |
| 164 | { |
Prateeksha Singh | 7cd6ebe | 2019-01-24 07:15:53 +0530 | [diff] [blame] | 165 | "label": _("Appraisals, Expense Claims and Loans"), |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 166 | "items": [ |
| 167 | { |
| 168 | "type": "doctype", |
Prateeksha Singh | 7cd6ebe | 2019-01-24 07:15:53 +0530 | [diff] [blame] | 169 | "name": "Appraisal", |
| 170 | }, |
| 171 | { |
| 172 | "type": "doctype", |
| 173 | "name": "Appraisal Template", |
| 174 | }, |
| 175 | { |
| 176 | "type": "page", |
| 177 | "name": "team-updates", |
| 178 | "label": _("Team Updates") |
| 179 | }, |
| 180 | { |
| 181 | "type": "doctype", |
Nabin Hait | d0249b0 | 2017-12-14 13:25:57 +0530 | [diff] [blame] | 182 | "name": "Employee Advance", |
Nabin Hait | d0249b0 | 2017-12-14 13:25:57 +0530 | [diff] [blame] | 183 | }, |
| 184 | { |
| 185 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 186 | "name": "Expense Claim", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 187 | }, |
| 188 | { |
| 189 | "type": "doctype", |
| 190 | "name": "Expense Claim Type", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 191 | }, |
Manas Solanki | 5b34c00 | 2018-05-16 18:09:43 +0530 | [diff] [blame] | 192 | { |
| 193 | "type": "doctype", |
| 194 | "name": "Travel Request", |
| 195 | }, |
Kanchan Chauhan | 639eebd | 2017-02-28 18:01:07 +0530 | [diff] [blame] | 196 | { |
| 197 | "type": "doctype", |
| 198 | "name": "Loan Type", |
Kanchan Chauhan | 639eebd | 2017-02-28 18:01:07 +0530 | [diff] [blame] | 199 | }, |
| 200 | { |
| 201 | "type": "doctype", |
Shreya Shah | 4dc453d | 2018-04-24 12:19:36 +0530 | [diff] [blame] | 202 | "name": "Loan Application", |
Kanchan Chauhan | 639eebd | 2017-02-28 18:01:07 +0530 | [diff] [blame] | 203 | }, |
| 204 | { |
| 205 | "type": "doctype", |
Shreya Shah | 4dc453d | 2018-04-24 12:19:36 +0530 | [diff] [blame] | 206 | "name": "Loan" |
Kanchan Chauhan | 639eebd | 2017-02-28 18:01:07 +0530 | [diff] [blame] | 207 | }, |
| 208 | ] |
| 209 | }, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 210 | { |
Prateeksha Singh | 7cd6ebe | 2019-01-24 07:15:53 +0530 | [diff] [blame] | 211 | "label": _("Recruitment and Training"), |
Nabin Hait | fcdca7f | 2018-04-14 12:54:51 +0530 | [diff] [blame] | 212 | "items": [ |
| 213 | { |
| 214 | "type": "doctype", |
| 215 | "name": "Job Applicant", |
| 216 | }, |
| 217 | { |
| 218 | "type": "doctype", |
| 219 | "name": "Job Opening", |
| 220 | }, |
| 221 | { |
| 222 | "type": "doctype", |
| 223 | "name": "Job Offer", |
| 224 | }, |
Neil Trini Lasrado | 984ee37 | 2016-08-08 16:33:51 +0530 | [diff] [blame] | 225 | { |
| 226 | "type": "doctype", |
Doridel Cahanap | 5a4d5bf | 2017-10-20 14:01:15 +0800 | [diff] [blame] | 227 | "name": "Training Program" |
| 228 | }, |
| 229 | { |
| 230 | "type": "doctype", |
Neil Trini Lasrado | 984ee37 | 2016-08-08 16:33:51 +0530 | [diff] [blame] | 231 | "name": "Training Event" |
| 232 | }, |
| 233 | { |
| 234 | "type": "doctype", |
| 235 | "name": "Training Result" |
| 236 | }, |
| 237 | { |
| 238 | "type": "doctype", |
| 239 | "name": "Training Feedback" |
| 240 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 241 | ] |
| 242 | }, |
Nabin Hait | f914bd3 | 2018-04-14 12:38:55 +0530 | [diff] [blame] | 243 | { |
Prateeksha Singh | 7cd6ebe | 2019-01-24 07:15:53 +0530 | [diff] [blame] | 244 | "label": _("Reports"), |
| 245 | "icon": "fa fa-list", |
| 246 | "items": [ |
| 247 | { |
| 248 | "type": "report", |
| 249 | "is_query_report": True, |
| 250 | "name": "Employee Leave Balance", |
| 251 | "doctype": "Leave Application" |
| 252 | }, |
| 253 | { |
| 254 | "type": "report", |
| 255 | "is_query_report": True, |
| 256 | "name": "Employee Birthday", |
| 257 | "doctype": "Employee" |
| 258 | }, |
| 259 | { |
| 260 | "type": "report", |
| 261 | "is_query_report": True, |
| 262 | "name": "Employees working on a holiday", |
| 263 | "doctype": "Employee" |
| 264 | }, |
| 265 | { |
| 266 | "type": "report", |
| 267 | "name": "Employee Information", |
| 268 | "doctype": "Employee" |
| 269 | }, |
| 270 | { |
| 271 | "type": "report", |
| 272 | "is_query_report": True, |
| 273 | "name": "Salary Register", |
| 274 | "doctype": "Salary Slip" |
| 275 | }, |
| 276 | { |
| 277 | "type": "report", |
| 278 | "is_query_report": True, |
| 279 | "name": "Monthly Attendance Sheet", |
| 280 | "doctype": "Attendance" |
| 281 | }, |
| 282 | { |
| 283 | "type": "report", |
| 284 | "is_query_report": True, |
| 285 | "name": "Vehicle Expenses", |
| 286 | "doctype": "Vehicle" |
| 287 | }, |
| 288 | { |
| 289 | "type": "report", |
| 290 | "is_query_report": True, |
| 291 | "name": "Department Analytics", |
| 292 | "doctype": "Employee" |
| 293 | }, |
| 294 | ] |
| 295 | }, |
| 296 | { |
| 297 | "label": _("Shifts and Fleet Management"), |
Nabin Hait | f914bd3 | 2018-04-14 12:38:55 +0530 | [diff] [blame] | 298 | "items": [ |
| 299 | { |
| 300 | "type": "doctype", |
| 301 | "name": "Shift Type", |
| 302 | }, |
| 303 | { |
| 304 | "type": "doctype", |
| 305 | "name": "Shift Request", |
| 306 | }, |
| 307 | { |
| 308 | "type": "doctype", |
| 309 | "name": "Shift Assignment", |
Prateeksha Singh | 7cd6ebe | 2019-01-24 07:15:53 +0530 | [diff] [blame] | 310 | }, |
Kanchan Chauhan | f80c2b9 | 2017-01-09 11:34:58 +0530 | [diff] [blame] | 311 | { |
| 312 | "type": "doctype", |
| 313 | "name": "Vehicle" |
| 314 | }, |
| 315 | { |
| 316 | "type": "doctype", |
| 317 | "name": "Vehicle Log" |
| 318 | }, |
| 319 | ] |
| 320 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 321 | { |
| 322 | "label": _("Setup"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 323 | "icon": "fa fa-cog", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 324 | "items": [ |
| 325 | { |
| 326 | "type": "doctype", |
| 327 | "name": "HR Settings", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 328 | }, |
| 329 | { |
| 330 | "type": "doctype", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 331 | "name": "Employment Type", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 332 | }, |
| 333 | { |
| 334 | "type": "doctype", |
| 335 | "name": "Branch", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 336 | }, |
| 337 | { |
| 338 | "type": "doctype", |
| 339 | "name": "Department", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 340 | }, |
| 341 | { |
| 342 | "type": "doctype", |
| 343 | "name": "Designation", |
Nabin Hait | fcdca7f | 2018-04-14 12:54:51 +0530 | [diff] [blame] | 344 | }, |
| 345 | { |
| 346 | "type": "doctype", |
| 347 | "name": "Employee Grade", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 348 | }, |
Rushabh Mehta | 557e7f7 | 2016-11-21 12:10:20 +0530 | [diff] [blame] | 349 | { |
| 350 | "type": "doctype", |
Suraj Shetty | 27067b3 | 2018-07-03 10:08:45 +0530 | [diff] [blame] | 351 | "name": "Daily Work Summary Group" |
Doridel Cahanap | c893268 | 2018-03-20 08:07:02 +0100 | [diff] [blame] | 352 | }, |
| 353 | { |
| 354 | "type": "doctype", |
Nabin Hait | f914bd3 | 2018-04-14 12:38:55 +0530 | [diff] [blame] | 355 | "name": "Employee Health Insurance" |
| 356 | }, |
| 357 | { |
| 358 | "type": "doctype", |
| 359 | "name": "Staffing Plan", |
Suraj Shetty | d3069fe | 2018-02-21 15:15:43 +0530 | [diff] [blame] | 360 | } |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 361 | ] |
| 362 | }, |
Prateeksha Singh | 7cd6ebe | 2019-01-24 07:15:53 +0530 | [diff] [blame] | 363 | # { |
| 364 | # "label": _("Help"), |
| 365 | # "icon": "fa fa-facetime-video", |
| 366 | # "items": [ |
| 367 | # { |
| 368 | # "type": "help", |
| 369 | # "label": _("Setting up Employees"), |
| 370 | # "youtube_id": "USfIUdZlUhw" |
| 371 | # }, |
| 372 | # { |
| 373 | # "type": "help", |
| 374 | # "label": _("Leave Management"), |
| 375 | # "youtube_id": "fc0p_AXebc8" |
| 376 | # }, |
| 377 | # { |
| 378 | # "type": "help", |
| 379 | # "label": _("Expense Claims"), |
| 380 | # "youtube_id": "5SZHJF--ZFY" |
| 381 | # } |
| 382 | # ] |
| 383 | # }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 384 | ] |