--- a/app/projrev/views/proposal.py Fri Aug 07 04:13:53 2009 +0530
+++ b/app/projrev/views/proposal.py Sat Aug 08 23:54:36 2009 +0530
@@ -111,6 +111,22 @@
project.micr_code = cleaned_data['micr_code']
+ subject = "[Sakshath] MICR Code of the new proposal submitted"
+ message = """Hi,
+ We have received a new proposal for National Mission on education from your,
+email address "%s", to the http://sakshath.ac.in portal. The MICR Code of the
+submitted proposal is:
+ MICR Code: %s
+
+Please remember this code for all future references.
+
+
+--
+Regards,
+Saksath admin""" % (request.user.username, project.micr_code)
+
+ request.user.email_user(subject=subject, message=message)
+
project.status = 'new'
micr_code = project.micr_code