add job applicant, sales and jobs email settings to module help
This commit is contained in:
parent
1a0b27ee7b
commit
8f3916dd54
@ -1,6 +1,13 @@
|
||||
// For license information, please see license.txt
|
||||
|
||||
cur_frm.cscript = {
|
||||
onload: function(doc, dt, dn) {
|
||||
if(in_list(user_roles,'System Manager')) {
|
||||
cur_frm.page_layout.footer.help_area.innerHTML = '<hr>\
|
||||
<p><a href="#Form/Jobs Email Settings">Jobs Email Settings</a><br>\
|
||||
<span class="help">Automatically extract Job Applicants from a mail box e.g. "jobs@example.com"</span></p>';
|
||||
}
|
||||
},
|
||||
refresh: function(doc) {
|
||||
cur_frm.cscript.make_listing(doc);
|
||||
},
|
||||
|
@ -31,6 +31,11 @@ wn.module_page["HR"] = [
|
||||
description: wn._("Performance appraisal."),
|
||||
doctype:"Appraisal"
|
||||
},
|
||||
{
|
||||
label: wn._("Job Applicant"),
|
||||
description: wn._("Applicant for a Job (extracted from jobs email)."),
|
||||
doctype:"Job Applicant"
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -108,6 +113,11 @@ wn.module_page["HR"] = [
|
||||
title: wn._("Employee Setup"),
|
||||
icon: "icon-cog",
|
||||
items: [
|
||||
{
|
||||
label: wn._("Job Opening"),
|
||||
description: wn._("Opening for a Job."),
|
||||
doctype:"Job Opening"
|
||||
},
|
||||
{
|
||||
"label": wn._("Employment Type"),
|
||||
"description": wn._("Type of employment master."),
|
||||
|
@ -48,6 +48,12 @@ cur_frm.cscript.onload = function(doc, cdt, cdn) {
|
||||
if(cur_frm.fields_dict.contact_by.df.options.match(/^Profile/)) {
|
||||
cur_frm.fields_dict.contact_by.get_query = erpnext.utils.profile_query;
|
||||
}
|
||||
|
||||
if(in_list(user_roles,'System Manager')) {
|
||||
cur_frm.page_layout.footer.help_area.innerHTML = '<hr>\
|
||||
<p><a href="#Form/Sales Email Settings">Sales Email Settings</a><br>\
|
||||
<span class="help">Automatically extract Leads from a mail box e.g. "sales@example.com"</span></p>';
|
||||
}
|
||||
}
|
||||
|
||||
cur_frm.cscript.refresh_custom_buttons = function(doc) {
|
||||
|
@ -116,6 +116,18 @@ wn.module_page["Setup"] = [
|
||||
label: wn._("Email Settings"),
|
||||
"description":wn._("Out going mail server and support ticket mailbox")
|
||||
},
|
||||
{
|
||||
"route":"Form/Sales Email Settings",
|
||||
doctype:"Sales Email Settings",
|
||||
label: wn._("Sales Email Settings"),
|
||||
"description":wn._("Extract Leads from sales email id e.g. sales@example.com")
|
||||
},
|
||||
{
|
||||
"route":"Form/Jobs Email Settings",
|
||||
doctype:"Jobs Email Settings",
|
||||
label: wn._("Jobs Email Settings"),
|
||||
"description":wn._("Extract Job Applicant from jobs email id e.g. jobs@example.com")
|
||||
},
|
||||
{
|
||||
"route":"Form/Notification Control/Notification Control",
|
||||
doctype:"Notification Control",
|
||||
|
Loading…
Reference in New Issue
Block a user