2013-08-05 14:59:54 +05:30
|
|
|
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
|
|
|
|
// License: GNU General Public License v3. See license.txt"
|
2013-01-09 16:39:27 +05:30
|
|
|
|
|
|
|
wn.module_page["HR"] = [
|
|
|
|
{
|
2013-07-01 17:15:23 +05:30
|
|
|
title: wn._("Top"),
|
|
|
|
top: true,
|
2013-01-09 16:39:27 +05:30
|
|
|
icon: "icon-copy",
|
|
|
|
items: [
|
2013-07-01 17:15:23 +05:30
|
|
|
{
|
|
|
|
label: wn._("Employee"),
|
|
|
|
description: wn._("Employee records."),
|
|
|
|
doctype:"Employee"
|
|
|
|
},
|
2013-01-09 16:39:27 +05:30
|
|
|
{
|
|
|
|
label: wn._("Leave Application"),
|
|
|
|
description: wn._("Applications for leave."),
|
|
|
|
doctype:"Leave Application"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: wn._("Expense Claim"),
|
2013-05-27 18:32:20 +05:30
|
|
|
description: wn._("Claims for company expense."),
|
2013-01-09 16:39:27 +05:30
|
|
|
doctype:"Expense Claim"
|
|
|
|
},
|
2013-07-01 17:15:23 +05:30
|
|
|
{
|
2013-07-10 17:42:01 +05:30
|
|
|
label: wn._("Salary Slip"),
|
|
|
|
description: wn._("Monthly salary statement."),
|
|
|
|
doctype:"Salary Slip"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: wn._("Attendance"),
|
|
|
|
description: wn._("Attendance record."),
|
|
|
|
doctype:"Attendance"
|
2013-07-01 17:15:23 +05:30
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: wn._("Documents"),
|
|
|
|
icon: "icon-copy",
|
|
|
|
items: [
|
2013-01-09 16:39:27 +05:30
|
|
|
{
|
2013-07-10 17:42:01 +05:30
|
|
|
label: wn._("Job Applicant"),
|
|
|
|
description: wn._("Applicant for a Job."),
|
|
|
|
doctype:"Job Applicant"
|
2013-01-09 16:39:27 +05:30
|
|
|
},
|
|
|
|
{
|
|
|
|
label: wn._("Appraisal"),
|
|
|
|
description: wn._("Performance appraisal."),
|
|
|
|
doctype:"Appraisal"
|
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: wn._("Leave Setup"),
|
|
|
|
icon: "icon-cog",
|
|
|
|
items: [
|
|
|
|
{
|
2013-03-05 15:52:07 +05:30
|
|
|
"route":"Form/Upload Attendance/Upload Attendance",
|
|
|
|
"label":wn._("Upload Attendance"),
|
2013-01-09 16:39:27 +05:30
|
|
|
"description":wn._("Upload attendance from a .csv file"),
|
2013-03-05 15:52:07 +05:30
|
|
|
doctype: "Upload Attendance"
|
2013-01-09 16:39:27 +05:30
|
|
|
},
|
|
|
|
{
|
|
|
|
"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 11:31:27 +05:30
|
|
|
{
|
2013-02-14 17:34:51 +05:30
|
|
|
"label":wn._("Leave Block List"),
|
2013-02-05 11:31:27 +05:30
|
|
|
"description":wn._("Block leave applications by department."),
|
2013-02-14 17:34:51 +05:30
|
|
|
doctype: "Leave Block List"
|
2013-02-05 11:31:27 +05:30
|
|
|
},
|
2013-01-09 16:39:27 +05:30
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: wn._("Payroll Setup"),
|
|
|
|
icon: "icon-cog",
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
"label": wn._("Salary Structure"),
|
|
|
|
"description": wn._("Monthly salary template."),
|
|
|
|
doctype: "Salary Structure"
|
|
|
|
},
|
|
|
|
{
|
2013-01-10 12:25:25 +05:30
|
|
|
"route":"Form/Salary Manager/Salary Manager",
|
2013-01-09 16:39:27 +05:30
|
|
|
"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: [
|
2013-01-16 12:50:55 +05:30
|
|
|
{
|
|
|
|
label: wn._("Job Opening"),
|
|
|
|
description: wn._("Opening for a Job."),
|
|
|
|
doctype:"Job Opening"
|
|
|
|
},
|
2013-01-09 16:39:27 +05:30
|
|
|
{
|
|
|
|
"label": wn._("Employment Type"),
|
|
|
|
"description": wn._("Type of employment master."),
|
|
|
|
doctype: "Employment Type"
|
|
|
|
},
|
2013-01-29 19:07:24 +05:30
|
|
|
{
|
|
|
|
"label": wn._("Designation"),
|
|
|
|
"description": wn._("Employee Designation."),
|
|
|
|
doctype: "Designation"
|
|
|
|
},
|
2013-01-09 16:39:27 +05:30
|
|
|
{
|
|
|
|
"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 17:54:50 +05:30
|
|
|
},
|
2013-08-02 19:31:41 +05:30
|
|
|
{
|
|
|
|
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 17:54:50 +05:30
|
|
|
{
|
|
|
|
title: wn._("Reports"),
|
|
|
|
right: true,
|
|
|
|
icon: "icon-list",
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
"label":wn._("Employee Leave Balance"),
|
2013-07-25 16:05:02 +05:30
|
|
|
route: "query-report/Employee Leave Balance",
|
|
|
|
doctype: "Leave Application"
|
2013-02-22 17:54:50 +05:30
|
|
|
},
|
2013-05-06 18:37:57 +05:30
|
|
|
{
|
|
|
|
"label":wn._("Employee Birthday"),
|
2013-07-25 16:05:02 +05:30
|
|
|
route: "query-report/Employee Birthday",
|
|
|
|
doctype: "Employee"
|
2013-05-06 18:37:57 +05:30
|
|
|
},
|
2013-05-06 18:50:29 +05:30
|
|
|
{
|
|
|
|
"label":wn._("Employee Information"),
|
2013-07-25 16:05:02 +05:30
|
|
|
route: "Report/Employee/Employee Information",
|
|
|
|
doctype: "Employee"
|
2013-05-06 18:50:29 +05:30
|
|
|
},
|
2013-05-10 18:41:58 +05:30
|
|
|
{
|
|
|
|
"label":wn._("Monthly Salary Register"),
|
2013-07-25 16:05:02 +05:30
|
|
|
route: "query-report/Monthly Salary Register",
|
|
|
|
doctype: "Salary Slip"
|
2013-05-10 18:41:58 +05:30
|
|
|
},
|
2013-05-13 15:59:50 +05:30
|
|
|
{
|
|
|
|
"label":wn._("Monthly Attendance Sheet"),
|
2013-07-25 16:05:02 +05:30
|
|
|
route: "query-report/Monthly Attendance Sheet",
|
|
|
|
doctype: "Attendance"
|
2013-05-13 15:59:50 +05:30
|
|
|
},
|
2013-02-22 17:54:50 +05:30
|
|
|
]
|
2013-01-09 16:39:27 +05:30
|
|
|
}
|
|
|
|
];
|
2012-02-23 12:35:32 +05:30
|
|
|
|
2012-02-21 19:03:50 +05:30
|
|
|
pscript['onload_hr-home'] = function(wrapper) {
|
2013-01-09 16:39:27 +05:30
|
|
|
wn.views.moduleview.make(wrapper, "HR");
|
2012-02-21 19:03:50 +05:30
|
|
|
}
|