added newsletter link in support home page. also hide naming series after save

This commit is contained in:
Anand Doshi 2012-08-24 14:23:27 +05:30
parent 9fdc4abced
commit 3f8277b6bb
2 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,7 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>.
cur_frm.cscript.refresh = function(doc) {
erpnext.hide_naming_series();
if(!doc.__islocal && !cint(doc.email_sent) && !doc.__unsaved) {
cur_frm.add_custom_button('Send', function() {
$c_obj(make_doclist(doc.doctype, doc.name), 'send_emails', '', function(r) {

View File

@ -14,6 +14,9 @@
<h4><a href="#!List/Maintenance Visit">Maintenance Visit</a></h4>
<p class="help">Visit report for maintenance visit</p>
<br>
<h4><a href="#!List/Newsletter">Newsletter</a></h4>
<p class="help">Send Newsletters to your contacts</p>
<br>
<h4><a href="#!List/Communication">Communication</a></h4>
<p class="help">Communication Log</p>
</div>