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 | { |
| 7 | "label": _("Documents"), |
| 8 | "icon": "icon-star", |
| 9 | "items": [ |
| 10 | { |
| 11 | "type": "doctype", |
| 12 | "name": "Employee", |
| 13 | "description": _("Employee records."), |
| 14 | }, |
| 15 | { |
| 16 | "type": "doctype", |
Rushabh Mehta | 7a4e739 | 2014-08-05 17:04:46 +0530 | [diff] [blame] | 17 | "name": "Leave Application", |
| 18 | "description": _("Applications for leave."), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 19 | }, |
| 20 | { |
| 21 | "type": "doctype", |
Rushabh Mehta | 7a4e739 | 2014-08-05 17:04:46 +0530 | [diff] [blame] | 22 | "name": "Expense Claim", |
| 23 | "description": _("Claims for company expense."), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 24 | }, |
| 25 | { |
| 26 | "type": "doctype", |
| 27 | "name": "Attendance", |
| 28 | "description": _("Attendance record."), |
| 29 | }, |
| 30 | { |
| 31 | "type": "doctype", |
Rushabh Mehta | 7a4e739 | 2014-08-05 17:04:46 +0530 | [diff] [blame] | 32 | "name": "Salary Slip", |
| 33 | "description": _("Monthly salary statement."), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 34 | }, |
| 35 | { |
| 36 | "type": "doctype", |
| 37 | "name": "Appraisal", |
| 38 | "description": _("Performance appraisal."), |
| 39 | }, |
| 40 | { |
| 41 | "type": "doctype", |
| 42 | "name": "Job Applicant", |
| 43 | "description": _("Applicant for a Job."), |
| 44 | }, |
| 45 | { |
| 46 | "type": "doctype", |
| 47 | "name": "Job Opening", |
| 48 | "description": _("Opening for a Job."), |
| 49 | }, |
Neil Trini Lasrado | e1d620b | 2015-03-04 16:01:45 +0530 | [diff] [blame] | 50 | { |
| 51 | "type": "doctype", |
| 52 | "name": "Offer Letter", |
| 53 | "description": _("Offer candidate a Job."), |
| 54 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 55 | ] |
| 56 | }, |
| 57 | { |
| 58 | "label": _("Tools"), |
| 59 | "icon": "icon-wrench", |
| 60 | "items": [ |
| 61 | { |
| 62 | "type": "doctype", |
Valmik Jangla | 07364f5 | 2016-01-27 17:43:57 +0530 | [diff] [blame] | 63 | "name": "Employee Attendance Tool", |
| 64 | "label": _("Employee Attendance Tool"), |
| 65 | "description":_("Mark Employee Attendance in Bulk"), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 66 | "hide_count": True |
| 67 | }, |
| 68 | { |
| 69 | "type": "doctype", |
| 70 | "name": "Upload Attendance", |
| 71 | "description":_("Upload attendance from a .csv file"), |
| 72 | "hide_count": True |
| 73 | }, |
| 74 | { |
| 75 | "type": "doctype", |
Valmik Jangla | 07364f5 | 2016-01-27 17:43:57 +0530 | [diff] [blame] | 76 | "name": "Process Payroll", |
| 77 | "label": _("Process Payroll"), |
| 78 | "description":_("Generate Salary Slips"), |
| 79 | "hide_count": True |
| 80 | }, |
| 81 | |
| 82 | { |
| 83 | "type": "doctype", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 84 | "name": "Leave Control Panel", |
| 85 | "label": _("Leave Allocation Tool"), |
| 86 | "description":_("Allocate leaves for the year."), |
| 87 | "hide_count": True |
| 88 | }, |
| 89 | ] |
| 90 | }, |
| 91 | { |
| 92 | "label": _("Setup"), |
| 93 | "icon": "icon-cog", |
| 94 | "items": [ |
| 95 | { |
| 96 | "type": "doctype", |
| 97 | "name": "HR Settings", |
| 98 | "description": _("Settings for HR Module") |
| 99 | }, |
| 100 | { |
| 101 | "type": "doctype", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 102 | "name": "Employment Type", |
| 103 | "description": _("Types of employment (permanent, contract, intern etc.).") |
| 104 | }, |
| 105 | { |
| 106 | "type": "doctype", |
| 107 | "name": "Branch", |
| 108 | "description": _("Organization branch master.") |
| 109 | }, |
| 110 | { |
| 111 | "type": "doctype", |
| 112 | "name": "Department", |
| 113 | "description": _("Organization unit (department) master.") |
| 114 | }, |
| 115 | { |
| 116 | "type": "doctype", |
| 117 | "name": "Designation", |
| 118 | "description": _("Employee designation (e.g. CEO, Director etc.).") |
| 119 | }, |
| 120 | { |
| 121 | "type": "doctype", |
| 122 | "name": "Salary Structure", |
| 123 | "description": _("Salary template master.") |
| 124 | }, |
| 125 | { |
| 126 | "type": "doctype", |
| 127 | "name": "Earning Type", |
| 128 | "description": _("Salary components.") |
| 129 | }, |
| 130 | { |
| 131 | "type": "doctype", |
| 132 | "name": "Deduction Type", |
| 133 | "description": _("Tax and other salary deductions.") |
| 134 | }, |
| 135 | { |
| 136 | "type": "doctype", |
| 137 | "name": "Leave Allocation", |
| 138 | "description": _("Allocate leaves for a period.") |
| 139 | }, |
| 140 | { |
| 141 | "type": "doctype", |
| 142 | "name":"Leave Type", |
| 143 | "description": _("Type of leaves like casual, sick etc."), |
| 144 | }, |
| 145 | { |
| 146 | "type": "doctype", |
| 147 | "name": "Holiday List", |
| 148 | "description": _("Holiday master.") |
| 149 | }, |
| 150 | { |
| 151 | "type": "doctype", |
| 152 | "name": "Leave Block List", |
| 153 | "description": _("Block leave applications by department.") |
| 154 | }, |
| 155 | { |
| 156 | "type": "doctype", |
| 157 | "name": "Appraisal Template", |
| 158 | "description": _("Template for performance appraisals.") |
| 159 | }, |
| 160 | { |
| 161 | "type": "doctype", |
| 162 | "name": "Expense Claim Type", |
| 163 | "description": _("Types of Expense Claim.") |
| 164 | }, |
| 165 | { |
| 166 | "type": "doctype", |
Rushabh Mehta | 5cdc8e5 | 2014-09-15 16:59:38 +0530 | [diff] [blame] | 167 | "name": "Email Account", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 168 | "description": _("Setup incoming server for jobs email id. (e.g. jobs@example.com)") |
| 169 | }, |
| 170 | ] |
| 171 | }, |
| 172 | { |
| 173 | "label": _("Standard Reports"), |
| 174 | "icon": "icon-list", |
| 175 | "items": [ |
| 176 | { |
| 177 | "type": "report", |
| 178 | "is_query_report": True, |
| 179 | "name": "Employee Leave Balance", |
| 180 | "doctype": "Leave Application" |
| 181 | }, |
| 182 | { |
| 183 | "type": "report", |
| 184 | "is_query_report": True, |
| 185 | "name": "Employee Birthday", |
| 186 | "doctype": "Employee" |
| 187 | }, |
| 188 | { |
| 189 | "type": "report", |
Valmik Jangla | 1890c79 | 2016-01-27 12:11:47 +0530 | [diff] [blame] | 190 | "is_query_report": True, |
| 191 | "name": "Employee Holiday Attendance", |
| 192 | "doctype": "Employee" |
| 193 | }, |
| 194 | { |
| 195 | "type": "report", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 196 | "name": "Employee Information", |
| 197 | "doctype": "Employee" |
| 198 | }, |
| 199 | { |
| 200 | "type": "report", |
| 201 | "is_query_report": True, |
| 202 | "name": "Monthly Salary Register", |
| 203 | "doctype": "Salary Slip" |
| 204 | }, |
| 205 | { |
| 206 | "type": "report", |
| 207 | "is_query_report": True, |
| 208 | "name": "Monthly Attendance Sheet", |
| 209 | "doctype": "Attendance" |
| 210 | }, |
Valmik Jangla | 1890c79 | 2016-01-27 12:11:47 +0530 | [diff] [blame] | 211 | |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 212 | ] |
| 213 | }, |
Sambhaji Kolate | fd53991 | 2015-10-27 17:01:27 +0530 | [diff] [blame] | 214 | { |
| 215 | "label": _("Help"), |
| 216 | "icon": "icon-facetime-video", |
| 217 | "items": [ |
| 218 | { |
| 219 | "type": "help", |
| 220 | "label": _("Setting up Employees"), |
| 221 | "youtube_id": "USfIUdZlUhw" |
| 222 | }, |
| 223 | { |
| 224 | "type": "help", |
| 225 | "label": _("Leave Management"), |
| 226 | "youtube_id": "fc0p_AXebc8" |
| 227 | }, |
| 228 | { |
| 229 | "type": "help", |
| 230 | "label": _("Expense Claims"), |
| 231 | "youtube_id": "5SZHJF--ZFY" |
| 232 | }, |
| 233 | { |
| 234 | "type": "help", |
| 235 | "label": _("Processing Payroll"), |
| 236 | "youtube_id": "apgE-f25Rm0" |
| 237 | }, |
| 238 | ] |
| 239 | } |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 240 | ] |