brotherton-erpnext/hr/page/hr_home/hr_home.js

212 lines
4.8 KiB
JavaScript
Raw Normal View History

// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
// License: GNU General Public License v3. See license.txt"
2013-01-09 11:09:27 +00:00
wn.module_page["HR"] = [
{
2013-07-01 11:45:23 +00:00
title: wn._("Top"),
top: true,
2013-01-09 11:09:27 +00:00
icon: "icon-copy",
items: [
2013-07-01 11:45:23 +00:00
{
label: wn._("Employee"),
description: wn._("Employee records."),
doctype:"Employee"
},
2013-01-09 11:09:27 +00:00
{
label: wn._("Leave Application"),
description: wn._("Applications for leave."),
doctype:"Leave Application"
},
{
label: wn._("Expense Claim"),
2013-05-27 13:02:20 +00:00
description: wn._("Claims for company expense."),
2013-01-09 11:09:27 +00:00
doctype:"Expense Claim"
},
2013-07-01 11:45:23 +00:00
{
label: wn._("Salary Slip"),
description: wn._("Monthly salary statement."),
doctype:"Salary Slip"
},
{
label: wn._("Attendance"),
description: wn._("Attendance record."),
doctype:"Attendance"
2013-07-01 11:45:23 +00:00
},
]
},
{
title: wn._("Documents"),
icon: "icon-copy",
items: [
2013-01-09 11:09:27 +00:00
{
label: wn._("Job Applicant"),
description: wn._("Applicant for a Job."),
doctype:"Job Applicant"
2013-01-09 11:09:27 +00:00
},
{
label: wn._("Appraisal"),
description: wn._("Performance appraisal."),
doctype:"Appraisal"
},
]
},
{
title: wn._("Leave Setup"),
icon: "icon-cog",
items: [
{
2013-03-05 10:22:07 +00:00
"route":"Form/Upload Attendance/Upload Attendance",
"label":wn._("Upload Attendance"),
2013-01-09 11:09:27 +00:00
"description":wn._("Upload attendance from a .csv file"),
2013-03-05 10:22:07 +00:00
doctype: "Upload Attendance"
2013-01-09 11:09:27 +00:00
},
{
"route":"Form/Leave Control Panel/Leave Control Panel",
"label": wn._("Leave Allocation Tool"),
"description": wn._("Allocate leaves for the year."),
doctype: "Leave Control Panel"
},
{
"label":wn._("Leave Allocation"),
"description":wn._("Leave allocations."),
doctype: "Leave Allocation"
},
{
"label":wn._("Leave Type"),
"description":wn._("Type of leaves like casual, sick etc."),
doctype: "Leave Type"
},
{
"label":wn._("Holiday List"),
"description":wn._("List of holidays."),
doctype: "Holiday List"
},
2013-02-05 06:01:27 +00:00
{
"label":wn._("Leave Block List"),
2013-02-05 06:01:27 +00:00
"description":wn._("Block leave applications by department."),
doctype: "Leave Block List"
2013-02-05 06:01:27 +00:00
},
2013-01-09 11:09:27 +00:00
]
},
{
title: wn._("Payroll Setup"),
icon: "icon-cog",
items: [
{
"label": wn._("Salary Structure"),
"description": wn._("Monthly salary template."),
doctype: "Salary Structure"
},
{
"route":"Form/Salary Manager/Salary Manager",
2013-01-09 11:09:27 +00:00
"label":wn._("Process Payroll"),
"description":wn._("Generate Salary Slips"),
doctype: "Salary Manager"
},
{
"label": wn._("Earning Type"),
"description": wn._("Salary components."),
doctype: "Earning Type"
},
{
"label": wn._("Deduction Type"),
"description": wn._("Tax and other salary deductions."),
doctype: "Deduction Type"
},
]
},
{
title: wn._("Employee Setup"),
icon: "icon-cog",
items: [
{
label: wn._("Job Opening"),
description: wn._("Opening for a Job."),
doctype:"Job Opening"
},
2013-01-09 11:09:27 +00:00
{
"label": wn._("Employment Type"),
"description": wn._("Type of employment master."),
doctype: "Employment Type"
},
2013-01-29 13:37:24 +00:00
{
"label": wn._("Designation"),
"description": wn._("Employee Designation."),
doctype: "Designation"
},
2013-01-09 11:09:27 +00:00
{
"label": wn._("Appraisal Template"),
"description": wn._("Template for employee performance appraisals."),
doctype: "Appraisal Template"
},
{
"label": wn._("Expense Claim Type"),
"description": wn._("Types of Expense Claim."),
doctype: "Expense Claim Type"
},
{
"label": wn._("Branch"),
"description": wn._("Company branches."),
doctype: "Branch"
},
{
"label": wn._("Department"),
"description": wn._("Company departments."),
doctype: "Department"
},
{
"label": wn._("Grade"),
"description": wn._("Employee grades"),
doctype: "Grade"
},
]
2013-02-22 12:24:50 +00:00
},
{
title: wn._("Setup"),
icon: "icon-cog",
items: [
{
"label": wn._("HR Settings"),
"route": "Form/HR Settings",
"doctype":"HR Settings",
"description": "Settings for HR Module"
}
]
},
2013-02-22 12:24:50 +00:00
{
title: wn._("Reports"),
right: true,
icon: "icon-list",
items: [
{
"label":wn._("Employee Leave Balance"),
route: "query-report/Employee Leave Balance",
doctype: "Leave Application"
2013-02-22 12:24:50 +00:00
},
2013-05-06 13:07:57 +00:00
{
"label":wn._("Employee Birthday"),
route: "query-report/Employee Birthday",
doctype: "Employee"
2013-05-06 13:07:57 +00:00
},
2013-05-06 13:20:29 +00:00
{
"label":wn._("Employee Information"),
route: "Report/Employee/Employee Information",
doctype: "Employee"
2013-05-06 13:20:29 +00:00
},
2013-05-10 13:11:58 +00:00
{
"label":wn._("Monthly Salary Register"),
route: "query-report/Monthly Salary Register",
doctype: "Salary Slip"
2013-05-10 13:11:58 +00:00
},
2013-05-13 10:29:50 +00:00
{
"label":wn._("Monthly Attendance Sheet"),
route: "query-report/Monthly Attendance Sheet",
doctype: "Attendance"
2013-05-13 10:29:50 +00:00
},
2013-02-22 12:24:50 +00:00
]
2013-01-09 11:09:27 +00:00
}
];
2012-02-23 07:05:32 +00:00
2012-02-21 13:33:50 +00:00
pscript['onload_hr-home'] = function(wrapper) {
2013-01-09 11:09:27 +00:00
wn.views.moduleview.make(wrapper, "HR");
2012-02-21 13:33:50 +00:00
}