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", |
Valmik Jangla | 07364f5 | 2016-01-27 17:43:57 +0530 | [diff] [blame] | 102 | "name": "Process Payroll", |
| 103 | "label": _("Process Payroll"), |
| 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", |
| 114 | "name": "Earning Type", |
| 115 | "description": _("Salary components.") |
| 116 | }, |
| 117 | { |
| 118 | "type": "doctype", |
| 119 | "name": "Deduction Type", |
| 120 | "description": _("Tax and other salary deductions.") |
| 121 | }, |
| 122 | |
| 123 | ] |
| 124 | }, |
| 125 | { |
| 126 | "label": _("Expense Claims"), |
| 127 | "items": [ |
| 128 | { |
| 129 | "type": "doctype", |
| 130 | "name": "Expense Claim", |
| 131 | "description": _("Claims for company expense."), |
| 132 | }, |
| 133 | { |
| 134 | "type": "doctype", |
| 135 | "name": "Expense Claim Type", |
| 136 | "description": _("Types of Expense Claim.") |
| 137 | }, |
| 138 | ] |
| 139 | }, |
| 140 | { |
| 141 | "label": _("Appraisals"), |
| 142 | "items": [ |
| 143 | { |
| 144 | "type": "doctype", |
| 145 | "name": "Appraisal", |
| 146 | "description": _("Performance appraisal."), |
| 147 | }, |
| 148 | { |
| 149 | "type": "doctype", |
| 150 | "name": "Appraisal Template", |
| 151 | "description": _("Template for performance appraisals.") |
| 152 | }, |
| 153 | ] |
| 154 | }, |
| 155 | |
| 156 | { |
| 157 | "label": _("Tools"), |
| 158 | "icon": "icon-wrench", |
| 159 | "items": [ |
| 160 | |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 161 | ] |
| 162 | }, |
| 163 | { |
| 164 | "label": _("Setup"), |
| 165 | "icon": "icon-cog", |
| 166 | "items": [ |
| 167 | { |
| 168 | "type": "doctype", |
| 169 | "name": "HR Settings", |
| 170 | "description": _("Settings for HR Module") |
| 171 | }, |
| 172 | { |
| 173 | "type": "doctype", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 174 | "name": "Employment Type", |
| 175 | "description": _("Types of employment (permanent, contract, intern etc.).") |
| 176 | }, |
| 177 | { |
| 178 | "type": "doctype", |
| 179 | "name": "Branch", |
| 180 | "description": _("Organization branch master.") |
| 181 | }, |
| 182 | { |
| 183 | "type": "doctype", |
| 184 | "name": "Department", |
| 185 | "description": _("Organization unit (department) master.") |
| 186 | }, |
| 187 | { |
| 188 | "type": "doctype", |
| 189 | "name": "Designation", |
| 190 | "description": _("Employee designation (e.g. CEO, Director etc.).") |
| 191 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 192 | ] |
| 193 | }, |
| 194 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 195 | "label": _("Reports"), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 196 | "icon": "icon-list", |
| 197 | "items": [ |
| 198 | { |
| 199 | "type": "report", |
| 200 | "is_query_report": True, |
| 201 | "name": "Employee Leave Balance", |
| 202 | "doctype": "Leave Application" |
| 203 | }, |
| 204 | { |
| 205 | "type": "report", |
| 206 | "is_query_report": True, |
| 207 | "name": "Employee Birthday", |
| 208 | "doctype": "Employee" |
| 209 | }, |
| 210 | { |
| 211 | "type": "report", |
Valmik Jangla | 1890c79 | 2016-01-27 12:11:47 +0530 | [diff] [blame] | 212 | "is_query_report": True, |
| 213 | "name": "Employee Holiday Attendance", |
| 214 | "doctype": "Employee" |
| 215 | }, |
| 216 | { |
| 217 | "type": "report", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 218 | "name": "Employee Information", |
| 219 | "doctype": "Employee" |
| 220 | }, |
| 221 | { |
| 222 | "type": "report", |
| 223 | "is_query_report": True, |
| 224 | "name": "Monthly Salary Register", |
| 225 | "doctype": "Salary Slip" |
| 226 | }, |
| 227 | { |
| 228 | "type": "report", |
| 229 | "is_query_report": True, |
| 230 | "name": "Monthly Attendance Sheet", |
| 231 | "doctype": "Attendance" |
| 232 | }, |
Valmik Jangla | 1890c79 | 2016-01-27 12:11:47 +0530 | [diff] [blame] | 233 | |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 234 | ] |
| 235 | }, |
Sambhaji Kolate | fd53991 | 2015-10-27 17:01:27 +0530 | [diff] [blame] | 236 | { |
| 237 | "label": _("Help"), |
| 238 | "icon": "icon-facetime-video", |
| 239 | "items": [ |
| 240 | { |
| 241 | "type": "help", |
| 242 | "label": _("Setting up Employees"), |
| 243 | "youtube_id": "USfIUdZlUhw" |
| 244 | }, |
| 245 | { |
| 246 | "type": "help", |
| 247 | "label": _("Leave Management"), |
| 248 | "youtube_id": "fc0p_AXebc8" |
| 249 | }, |
| 250 | { |
| 251 | "type": "help", |
| 252 | "label": _("Expense Claims"), |
| 253 | "youtube_id": "5SZHJF--ZFY" |
| 254 | }, |
| 255 | { |
| 256 | "type": "help", |
| 257 | "label": _("Processing Payroll"), |
| 258 | "youtube_id": "apgE-f25Rm0" |
| 259 | }, |
| 260 | ] |
| 261 | } |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 262 | ] |