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