Anand Doshi | f5794f1 | 2014-03-03 15:05:28 +0530 | [diff] [blame] | 1 | from frappe import _ |
| 2 | |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 3 | def get_data(): |
| 4 | return [ |
| 5 | { |
| 6 | "label": _("Documents"), |
| 7 | "icon": "icon-star", |
| 8 | "items": [ |
| 9 | { |
| 10 | "type": "doctype", |
| 11 | "name": "Employee", |
| 12 | "description": _("Employee records."), |
| 13 | }, |
| 14 | { |
| 15 | "type": "doctype", |
| 16 | "name": "Salary Slip", |
| 17 | "description": _("Monthly salary statement."), |
| 18 | }, |
| 19 | { |
| 20 | "type": "doctype", |
| 21 | "name": "Leave Application", |
| 22 | "description": _("Applications for leave."), |
| 23 | }, |
| 24 | { |
| 25 | "type": "doctype", |
| 26 | "name": "Attendance", |
| 27 | "description": _("Attendance record."), |
| 28 | }, |
| 29 | { |
| 30 | "type": "doctype", |
| 31 | "name": "Expense Claim", |
| 32 | "description": _("Claims for company expense."), |
| 33 | }, |
| 34 | { |
| 35 | "type": "doctype", |
| 36 | "name": "Appraisal", |
| 37 | "description": _("Performance appraisal."), |
| 38 | }, |
| 39 | { |
| 40 | "type": "doctype", |
| 41 | "name": "Job Applicant", |
| 42 | "description": _("Applicant for a Job."), |
| 43 | }, |
| 44 | { |
| 45 | "type": "doctype", |
| 46 | "name": "Job Opening", |
| 47 | "description": _("Opening for a Job."), |
| 48 | }, |
| 49 | ] |
| 50 | }, |
| 51 | { |
| 52 | "label": _("Tools"), |
| 53 | "icon": "icon-wrench", |
| 54 | "items": [ |
| 55 | { |
| 56 | "type": "doctype", |
| 57 | "name": "Salary Manager", |
| 58 | "label": _("Process Payroll"), |
| 59 | "description":_("Generate Salary Slips"), |
| 60 | "hide_count": True |
| 61 | }, |
| 62 | { |
| 63 | "type": "doctype", |
| 64 | "name": "Upload Attendance", |
| 65 | "description":_("Upload attendance from a .csv file"), |
| 66 | "hide_count": True |
| 67 | }, |
| 68 | { |
| 69 | "type": "doctype", |
| 70 | "name": "Leave Control Panel", |
| 71 | "label": _("Leave Allocation Tool"), |
| 72 | "description":_("Allocate leaves for the year."), |
| 73 | "hide_count": True |
| 74 | }, |
| 75 | ] |
| 76 | }, |
| 77 | { |
| 78 | "label": _("Setup"), |
| 79 | "icon": "icon-cog", |
| 80 | "items": [ |
| 81 | { |
| 82 | "type": "doctype", |
| 83 | "name": "HR Settings", |
| 84 | "description": _("Settings for HR Module") |
| 85 | }, |
| 86 | { |
| 87 | "type": "doctype", |
| 88 | "name": "Employee", |
| 89 | "description": _("Employee master.") |
| 90 | }, |
| 91 | { |
| 92 | "type": "doctype", |
| 93 | "name": "Employment Type", |
| 94 | "description": _("Types of employment (permanent, contract, intern etc.).") |
| 95 | }, |
| 96 | { |
| 97 | "type": "doctype", |
| 98 | "name": "Branch", |
| 99 | "description": _("Organization branch master.") |
| 100 | }, |
| 101 | { |
| 102 | "type": "doctype", |
| 103 | "name": "Department", |
| 104 | "description": _("Organization unit (department) master.") |
| 105 | }, |
| 106 | { |
| 107 | "type": "doctype", |
| 108 | "name": "Designation", |
| 109 | "description": _("Employee designation (e.g. CEO, Director etc.).") |
| 110 | }, |
| 111 | { |
| 112 | "type": "doctype", |
| 113 | "name": "Salary Structure", |
| 114 | "description": _("Salary template master.") |
| 115 | }, |
| 116 | { |
| 117 | "type": "doctype", |
| 118 | "name": "Earning Type", |
| 119 | "description": _("Salary components.") |
| 120 | }, |
| 121 | { |
| 122 | "type": "doctype", |
| 123 | "name": "Deduction Type", |
| 124 | "description": _("Tax and other salary deductions.") |
| 125 | }, |
| 126 | { |
| 127 | "type": "doctype", |
| 128 | "name": "Leave Allocation", |
| 129 | "description": _("Allocate leaves for a period.") |
| 130 | }, |
| 131 | { |
| 132 | "type": "doctype", |
| 133 | "name":"Leave Type", |
| 134 | "description": _("Type of leaves like casual, sick etc."), |
| 135 | }, |
| 136 | { |
| 137 | "type": "doctype", |
| 138 | "name": "Holiday List", |
| 139 | "description": _("Holiday master.") |
| 140 | }, |
| 141 | { |
| 142 | "type": "doctype", |
| 143 | "name": "Leave Block List", |
| 144 | "description": _("Block leave applications by department.") |
| 145 | }, |
| 146 | { |
| 147 | "type": "doctype", |
| 148 | "name": "Appraisal Template", |
| 149 | "description": _("Template for performance appraisals.") |
| 150 | }, |
| 151 | { |
| 152 | "type": "doctype", |
| 153 | "name": "Expense Claim Type", |
| 154 | "description": _("Types of Expense Claim.") |
| 155 | }, |
| 156 | { |
| 157 | "type": "doctype", |
| 158 | "name": "Jobs Email Settings", |
| 159 | "description": _("Setup incoming server for jobs email id. (e.g. jobs@example.com)") |
| 160 | }, |
| 161 | ] |
| 162 | }, |
| 163 | { |
| 164 | "label": _("Standard Reports"), |
| 165 | "icon": "icon-list", |
| 166 | "items": [ |
| 167 | { |
| 168 | "type": "report", |
| 169 | "is_query_report": True, |
| 170 | "name": "Employee Leave Balance", |
| 171 | "doctype": "Leave Application" |
| 172 | }, |
| 173 | { |
| 174 | "type": "report", |
| 175 | "is_query_report": True, |
| 176 | "name": "Employee Birthday", |
| 177 | "doctype": "Employee" |
| 178 | }, |
| 179 | { |
| 180 | "type": "report", |
| 181 | "name": "Employee Information", |
| 182 | "doctype": "Employee" |
| 183 | }, |
| 184 | { |
| 185 | "type": "report", |
| 186 | "is_query_report": True, |
| 187 | "name": "Monthly Salary Register", |
| 188 | "doctype": "Salary Slip" |
| 189 | }, |
| 190 | { |
| 191 | "type": "report", |
| 192 | "is_query_report": True, |
| 193 | "name": "Monthly Attendance Sheet", |
| 194 | "doctype": "Attendance" |
| 195 | }, |
| 196 | ] |
| 197 | }, |
| 198 | ] |