brotherton-erpnext/projects/page/projects_home/projects_home.js

68 lines
1.3 KiB
JavaScript
Raw Normal View History

2013-01-09 11:09:27 +00:00
// ERPNext: Copyright 2013 Web Notes Technologies Pvt Ltd
// GNU General Public License. See "license.txt"
wn.module_page["Projects"] = [
{
title: wn._("Documents"),
icon: "icon-copy",
items: [
{
label: wn._("Task"),
description: wn._("Project activity / task."),
doctype:"Task"
},
{
label: wn._("Project"),
description: wn._("Project master."),
doctype:"Project"
},
2013-02-26 11:06:41 +00:00
{
label: wn._("Time Log"),
description: wn._("Time Log for tasks."),
doctype:"Time Log"
},
2013-02-28 13:12:46 +00:00
{
label: wn._("Time Log Batch"),
description: wn._("Batch Time Logs for billing."),
doctype:"Time Log Batch"
},
2013-01-09 11:09:27 +00:00
]
},
{
title: wn._("Tools"),
icon: "icon-wrench",
items: [
{
page: "Projects",
label: wn._("Gantt Chart"),
"description":wn._("Gantt chart of all tasks.")
},
]
},
{
title: wn._("Masters"),
icon: "icon-book",
items: [
{
label: wn._("Activity Type"),
description: wn._("Types of activities for Time Sheets"),
doctype:"Activity Type"
},
]
},
2013-03-01 12:54:52 +00:00
{
title: wn._("Reports"),
right: true,
icon: "icon-list",
items: [
{
"label":wn._("Daily Time Log Summary"),
route: "query-report/Daily Time Log Summary",
2013-03-01 12:54:52 +00:00
doctype: "Time Log"
},
]
}]
2012-02-23 07:05:32 +00:00
2012-02-21 13:33:50 +00:00
pscript['onload_projects-home'] = function(wrapper) {
2013-01-09 11:09:27 +00:00
wn.views.moduleview.make(wrapper, "Projects");
2012-02-21 13:33:50 +00:00
}