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", |
| 63 | "name": "Salary Manager", |
| 64 | "label": _("Process Payroll"), |
| 65 | "description":_("Generate Salary Slips"), |
| 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", |
| 76 | "name": "Leave Control Panel", |
| 77 | "label": _("Leave Allocation Tool"), |
| 78 | "description":_("Allocate leaves for the year."), |
| 79 | "hide_count": True |
| 80 | }, |
| 81 | ] |
| 82 | }, |
| 83 | { |
| 84 | "label": _("Setup"), |
| 85 | "icon": "icon-cog", |
| 86 | "items": [ |
| 87 | { |
| 88 | "type": "doctype", |
| 89 | "name": "HR Settings", |
| 90 | "description": _("Settings for HR Module") |
| 91 | }, |
| 92 | { |
| 93 | "type": "doctype", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 94 | "name": "Employment Type", |
| 95 | "description": _("Types of employment (permanent, contract, intern etc.).") |
| 96 | }, |
| 97 | { |
| 98 | "type": "doctype", |
| 99 | "name": "Branch", |
| 100 | "description": _("Organization branch master.") |
| 101 | }, |
| 102 | { |
| 103 | "type": "doctype", |
| 104 | "name": "Department", |
| 105 | "description": _("Organization unit (department) master.") |
| 106 | }, |
| 107 | { |
| 108 | "type": "doctype", |
| 109 | "name": "Designation", |
| 110 | "description": _("Employee designation (e.g. CEO, Director etc.).") |
| 111 | }, |
| 112 | { |
| 113 | "type": "doctype", |
| 114 | "name": "Salary Structure", |
| 115 | "description": _("Salary template master.") |
| 116 | }, |
| 117 | { |
| 118 | "type": "doctype", |
| 119 | "name": "Earning Type", |
| 120 | "description": _("Salary components.") |
| 121 | }, |
| 122 | { |
| 123 | "type": "doctype", |
| 124 | "name": "Deduction Type", |
| 125 | "description": _("Tax and other salary deductions.") |
| 126 | }, |
| 127 | { |
| 128 | "type": "doctype", |
| 129 | "name": "Leave Allocation", |
| 130 | "description": _("Allocate leaves for a period.") |
| 131 | }, |
| 132 | { |
| 133 | "type": "doctype", |
| 134 | "name":"Leave Type", |
| 135 | "description": _("Type of leaves like casual, sick etc."), |
| 136 | }, |
| 137 | { |
| 138 | "type": "doctype", |
| 139 | "name": "Holiday List", |
| 140 | "description": _("Holiday master.") |
| 141 | }, |
| 142 | { |
| 143 | "type": "doctype", |
| 144 | "name": "Leave Block List", |
| 145 | "description": _("Block leave applications by department.") |
| 146 | }, |
| 147 | { |
| 148 | "type": "doctype", |
| 149 | "name": "Appraisal Template", |
| 150 | "description": _("Template for performance appraisals.") |
| 151 | }, |
| 152 | { |
| 153 | "type": "doctype", |
| 154 | "name": "Expense Claim Type", |
| 155 | "description": _("Types of Expense Claim.") |
| 156 | }, |
| 157 | { |
| 158 | "type": "doctype", |
Rushabh Mehta | 5cdc8e5 | 2014-09-15 16:59:38 +0530 | [diff] [blame] | 159 | "name": "Email Account", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 160 | "description": _("Setup incoming server for jobs email id. (e.g. jobs@example.com)") |
| 161 | }, |
| 162 | ] |
| 163 | }, |
| 164 | { |
| 165 | "label": _("Standard Reports"), |
| 166 | "icon": "icon-list", |
| 167 | "items": [ |
| 168 | { |
| 169 | "type": "report", |
| 170 | "is_query_report": True, |
| 171 | "name": "Employee Leave Balance", |
| 172 | "doctype": "Leave Application" |
| 173 | }, |
| 174 | { |
| 175 | "type": "report", |
| 176 | "is_query_report": True, |
| 177 | "name": "Employee Birthday", |
| 178 | "doctype": "Employee" |
| 179 | }, |
| 180 | { |
| 181 | "type": "report", |
| 182 | "name": "Employee Information", |
| 183 | "doctype": "Employee" |
| 184 | }, |
| 185 | { |
| 186 | "type": "report", |
| 187 | "is_query_report": True, |
| 188 | "name": "Monthly Salary Register", |
| 189 | "doctype": "Salary Slip" |
| 190 | }, |
| 191 | { |
| 192 | "type": "report", |
| 193 | "is_query_report": True, |
| 194 | "name": "Monthly Attendance Sheet", |
| 195 | "doctype": "Attendance" |
| 196 | }, |
| 197 | ] |
| 198 | }, |
| 199 | ] |