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", |
| 12 | "description": _("Employee records."), |
| 13 | }, |
| 14 | { |
| 15 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 16 | "name": "Employee Attendance Tool", |
| 17 | "label": _("Employee Attendance Tool"), |
Rushabh Mehta | 8a065e0 | 2016-06-22 12:58:39 +0530 | [diff] [blame] | 18 | "description":_("Mark Attendance for multiple employees"), |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 19 | "hide_count": True |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 20 | }, |
| 21 | { |
| 22 | "type": "doctype", |
| 23 | "name": "Attendance", |
| 24 | "description": _("Attendance record."), |
| 25 | }, |
| 26 | { |
| 27 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 28 | "name": "Upload Attendance", |
| 29 | "description":_("Upload attendance from a .csv file"), |
| 30 | "hide_count": True |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 31 | }, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 32 | ] |
| 33 | }, |
| 34 | { |
| 35 | "label": _("Recruitment"), |
| 36 | "items": [ |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 37 | { |
| 38 | "type": "doctype", |
| 39 | "name": "Job Applicant", |
| 40 | "description": _("Applicant for a Job."), |
| 41 | }, |
| 42 | { |
| 43 | "type": "doctype", |
| 44 | "name": "Job Opening", |
| 45 | "description": _("Opening for a Job."), |
| 46 | }, |
Neil Trini Lasrado | e1d620b | 2015-03-04 16:01:45 +0530 | [diff] [blame] | 47 | { |
| 48 | "type": "doctype", |
| 49 | "name": "Offer Letter", |
| 50 | "description": _("Offer candidate a Job."), |
| 51 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 52 | ] |
| 53 | }, |
| 54 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 55 | "label": _("Leaves and Holiday"), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 56 | "items": [ |
| 57 | { |
| 58 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 59 | "name": "Leave Application", |
| 60 | "description": _("Applications for leave."), |
| 61 | }, |
| 62 | { |
| 63 | "type": "doctype", |
| 64 | "name":"Leave Type", |
| 65 | "description": _("Type of leaves like casual, sick etc."), |
| 66 | }, |
| 67 | { |
| 68 | "type": "doctype", |
| 69 | "name": "Holiday List", |
| 70 | "description": _("Holiday master.") |
| 71 | }, |
| 72 | { |
| 73 | "type": "doctype", |
| 74 | "name": "Leave Allocation", |
| 75 | "description": _("Allocate leaves for a period.") |
| 76 | }, |
| 77 | { |
| 78 | "type": "doctype", |
| 79 | "name": "Leave Control Panel", |
| 80 | "label": _("Leave Allocation Tool"), |
| 81 | "description":_("Allocate leaves for the year."), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 82 | "hide_count": True |
| 83 | }, |
| 84 | { |
| 85 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 86 | "name": "Leave Block List", |
| 87 | "description": _("Block leave applications by department.") |
| 88 | }, |
| 89 | |
| 90 | ] |
| 91 | }, |
| 92 | { |
| 93 | "label": _("Payroll"), |
| 94 | "items": [ |
| 95 | { |
| 96 | "type": "doctype", |
| 97 | "name": "Salary Slip", |
| 98 | "description": _("Monthly salary statement."), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 99 | }, |
| 100 | { |
| 101 | "type": "doctype", |
Shreya Shah | 88dbc26 | 2017-12-07 18:24:42 +0530 | [diff] [blame] | 102 | "name": "Payroll Entry", |
| 103 | "label": _("Payroll Entry"), |
Valmik Jangla | 07364f5 | 2016-01-27 17:43:57 +0530 | [diff] [blame] | 104 | "description":_("Generate Salary Slips"), |
| 105 | "hide_count": True |
| 106 | }, |
Valmik Jangla | 07364f5 | 2016-01-27 17:43:57 +0530 | [diff] [blame] | 107 | { |
| 108 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 109 | "name": "Salary Structure", |
| 110 | "description": _("Salary template master.") |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 111 | }, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 112 | { |
| 113 | "type": "doctype", |
Kanchan Chauhan | d963b76 | 2016-07-02 12:23:59 +0530 | [diff] [blame] | 114 | "name": "Salary Component", |
| 115 | "label": _("Salary Components"), |
| 116 | "description": _("Earnings, Deductions and other Salary components") |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 117 | }, |
| 118 | |
| 119 | ] |
| 120 | }, |
| 121 | { |
| 122 | "label": _("Expense Claims"), |
| 123 | "items": [ |
| 124 | { |
| 125 | "type": "doctype", |
Nabin Hait | d0249b0 | 2017-12-14 13:25:57 +0530 | [diff] [blame] | 126 | "name": "Employee Advance", |
| 127 | "description": _("Manage advance amount given to the Employee"), |
| 128 | }, |
| 129 | { |
| 130 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 131 | "name": "Expense Claim", |
| 132 | "description": _("Claims for company expense."), |
| 133 | }, |
| 134 | { |
| 135 | "type": "doctype", |
| 136 | "name": "Expense Claim Type", |
| 137 | "description": _("Types of Expense Claim.") |
| 138 | }, |
| 139 | ] |
| 140 | }, |
| 141 | { |
| 142 | "label": _("Appraisals"), |
| 143 | "items": [ |
| 144 | { |
| 145 | "type": "doctype", |
| 146 | "name": "Appraisal", |
| 147 | "description": _("Performance appraisal."), |
| 148 | }, |
| 149 | { |
| 150 | "type": "doctype", |
| 151 | "name": "Appraisal Template", |
| 152 | "description": _("Template for performance appraisals.") |
| 153 | }, |
Rushabh Mehta | 7ec4b71 | 2017-01-31 11:42:44 +0530 | [diff] [blame] | 154 | { |
| 155 | "type": "page", |
| 156 | "name": "team-updates", |
| 157 | "label": _("Team Updates") |
| 158 | }, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 159 | ] |
| 160 | }, |
Kanchan Chauhan | 639eebd | 2017-02-28 18:01:07 +0530 | [diff] [blame] | 161 | { |
| 162 | "label": _("Employee Loan Management"), |
| 163 | "icon": "icon-list", |
| 164 | "items": [ |
| 165 | { |
| 166 | "type": "doctype", |
| 167 | "name": "Loan Type", |
| 168 | "description": _("Define various loan types") |
| 169 | }, |
| 170 | { |
| 171 | "type": "doctype", |
| 172 | "name": "Employee Loan Application", |
| 173 | "description": _("Employee Loan Application") |
| 174 | }, |
| 175 | { |
| 176 | "type": "doctype", |
| 177 | "name": "Employee Loan" |
| 178 | }, |
| 179 | ] |
| 180 | }, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 181 | { |
Neil Trini Lasrado | 984ee37 | 2016-08-08 16:33:51 +0530 | [diff] [blame] | 182 | "label": _("Training"), |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 183 | "items": [ |
Neil Trini Lasrado | 984ee37 | 2016-08-08 16:33:51 +0530 | [diff] [blame] | 184 | { |
| 185 | "type": "doctype", |
Doridel Cahanap | 5a4d5bf | 2017-10-20 14:01:15 +0800 | [diff] [blame] | 186 | "name": "Training Program" |
| 187 | }, |
| 188 | { |
| 189 | "type": "doctype", |
Neil Trini Lasrado | 984ee37 | 2016-08-08 16:33:51 +0530 | [diff] [blame] | 190 | "name": "Training Event" |
| 191 | }, |
| 192 | { |
| 193 | "type": "doctype", |
| 194 | "name": "Training Result" |
| 195 | }, |
| 196 | { |
| 197 | "type": "doctype", |
| 198 | "name": "Training Feedback" |
| 199 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 200 | ] |
| 201 | }, |
Rushabh Mehta | 7ec4b71 | 2017-01-31 11:42:44 +0530 | [diff] [blame] | 202 | |
Kanchan Chauhan | f80c2b9 | 2017-01-09 11:34:58 +0530 | [diff] [blame] | 203 | { |
| 204 | "label": _("Fleet Management"), |
| 205 | "items": [ |
| 206 | { |
| 207 | "type": "doctype", |
| 208 | "name": "Vehicle" |
| 209 | }, |
| 210 | { |
| 211 | "type": "doctype", |
| 212 | "name": "Vehicle Log" |
| 213 | }, |
| 214 | ] |
| 215 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 216 | { |
| 217 | "label": _("Setup"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 218 | "icon": "fa fa-cog", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 219 | "items": [ |
| 220 | { |
| 221 | "type": "doctype", |
| 222 | "name": "HR Settings", |
| 223 | "description": _("Settings for HR Module") |
| 224 | }, |
| 225 | { |
| 226 | "type": "doctype", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 227 | "name": "Employment Type", |
| 228 | "description": _("Types of employment (permanent, contract, intern etc.).") |
| 229 | }, |
| 230 | { |
| 231 | "type": "doctype", |
| 232 | "name": "Branch", |
| 233 | "description": _("Organization branch master.") |
| 234 | }, |
| 235 | { |
| 236 | "type": "doctype", |
| 237 | "name": "Department", |
| 238 | "description": _("Organization unit (department) master.") |
| 239 | }, |
| 240 | { |
| 241 | "type": "doctype", |
| 242 | "name": "Designation", |
| 243 | "description": _("Employee designation (e.g. CEO, Director etc.).") |
| 244 | }, |
Rushabh Mehta | 557e7f7 | 2016-11-21 12:10:20 +0530 | [diff] [blame] | 245 | { |
| 246 | "type": "doctype", |
| 247 | "name": "Daily Work Summary Settings" |
| 248 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 249 | ] |
| 250 | }, |
| 251 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 252 | "label": _("Reports"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 253 | "icon": "fa fa-list", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 254 | "items": [ |
| 255 | { |
| 256 | "type": "report", |
| 257 | "is_query_report": True, |
| 258 | "name": "Employee Leave Balance", |
| 259 | "doctype": "Leave Application" |
| 260 | }, |
| 261 | { |
| 262 | "type": "report", |
| 263 | "is_query_report": True, |
| 264 | "name": "Employee Birthday", |
| 265 | "doctype": "Employee" |
| 266 | }, |
| 267 | { |
| 268 | "type": "report", |
Valmik Jangla | 1890c79 | 2016-01-27 12:11:47 +0530 | [diff] [blame] | 269 | "is_query_report": True, |
Kanchan Chauhan | 7ff0c4e | 2016-07-14 12:12:26 +0530 | [diff] [blame] | 270 | "name": "Employees working on a holiday", |
Valmik Jangla | 1890c79 | 2016-01-27 12:11:47 +0530 | [diff] [blame] | 271 | "doctype": "Employee" |
| 272 | }, |
| 273 | { |
| 274 | "type": "report", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 275 | "name": "Employee Information", |
| 276 | "doctype": "Employee" |
| 277 | }, |
| 278 | { |
| 279 | "type": "report", |
| 280 | "is_query_report": True, |
Kanchan Chauhan | 2f3ae91 | 2017-01-11 19:43:16 +0530 | [diff] [blame] | 281 | "name": "Salary Register", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 282 | "doctype": "Salary Slip" |
| 283 | }, |
| 284 | { |
| 285 | "type": "report", |
| 286 | "is_query_report": True, |
| 287 | "name": "Monthly Attendance Sheet", |
| 288 | "doctype": "Attendance" |
| 289 | }, |
Kanchan Chauhan | f80c2b9 | 2017-01-09 11:34:58 +0530 | [diff] [blame] | 290 | { |
| 291 | "type": "report", |
| 292 | "is_query_report": True, |
| 293 | "name": "Vehicle Expenses", |
| 294 | "doctype": "Vehicle" |
| 295 | }, |
Valmik Jangla | 1890c79 | 2016-01-27 12:11:47 +0530 | [diff] [blame] | 296 | |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 297 | ] |
| 298 | }, |
Sambhaji Kolate | fd53991 | 2015-10-27 17:01:27 +0530 | [diff] [blame] | 299 | { |
| 300 | "label": _("Help"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 301 | "icon": "fa fa-facetime-video", |
Sambhaji Kolate | fd53991 | 2015-10-27 17:01:27 +0530 | [diff] [blame] | 302 | "items": [ |
| 303 | { |
| 304 | "type": "help", |
| 305 | "label": _("Setting up Employees"), |
| 306 | "youtube_id": "USfIUdZlUhw" |
| 307 | }, |
| 308 | { |
| 309 | "type": "help", |
| 310 | "label": _("Leave Management"), |
| 311 | "youtube_id": "fc0p_AXebc8" |
| 312 | }, |
| 313 | { |
| 314 | "type": "help", |
| 315 | "label": _("Expense Claims"), |
| 316 | "youtube_id": "5SZHJF--ZFY" |
| 317 | }, |
| 318 | { |
| 319 | "type": "help", |
| 320 | "label": _("Processing Payroll"), |
| 321 | "youtube_id": "apgE-f25Rm0" |
| 322 | }, |
| 323 | ] |
| 324 | } |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 325 | ] |