better notification message
diff --git a/erpnext/setup/doctype/notification_control/notification_control.js b/erpnext/setup/doctype/notification_control/notification_control.js
index 958ed0b..0ac33a1 100644
--- a/erpnext/setup/doctype/notification_control/notification_control.js
+++ b/erpnext/setup/doctype/notification_control/notification_control.js
@@ -42,8 +42,8 @@
}
})();
if(res.send) {
+ var print_heading = (doc.select_print_heading || args['type'])
if(validate_email(args['send_to'] || doc.contact_email || '')) {
- var print_heading = (doc.select_print_heading || args['type'])
sendmail(
args['send_to'] || doc.contact_email,
send_from,
@@ -55,7 +55,8 @@
msgprint('This ' + print_heading + ' is being sent to <b>'
+ (args['send_to'] || doc.contact_email) + '</b><br />...');
} else {
- msgprint('Invalid/Missing Email Address. ' + print_heading + ' not sent.');
+ msgprint('Invalid/Missing Email Address of Contact. Auto notification for '
+ + print_heading + ' not sent.');
}
}
}
diff --git a/erpnext/website/__init__.py b/erpnext/website/__init__.py
index fbaab0d..eb3a055 100644
--- a/erpnext/website/__init__.py
+++ b/erpnext/website/__init__.py
@@ -22,4 +22,4 @@
webnotes.msgprint('Please give us your email id so that we can write back to you', raise_exception=True)
d.save()
- webnotes.msgprint('Thank you for your query, we will get back to you asap.')
\ No newline at end of file
+ webnotes.msgprint('Thank you!')
\ No newline at end of file