add job applicant, sales and jobs email settings to module help

This commit is contained in:
Rushabh Mehta
2013-01-16 12:50:55 +05:30
parent 1a0b27ee7b
commit 8f3916dd54
4 changed files with 35 additions and 0 deletions

View File

@@ -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) {