Commit 34fed395 authored by Gladys Forte's avatar Gladys Forte

batch email admin

parent 6fb23f49
......@@ -49,7 +49,7 @@ class ChangeRequestTemplatesSerializer(
"department_code": instance.requested_to_user.department.code,
"department_name": instance.requested_to_user.department.name
}
ret['requested_to_company'] = {
"id": instance.requested_to_company.id,
"code": instance.requested_to_company.code,
......
......@@ -58,6 +58,14 @@ def batch_email_users(args):
def batch_email_admin(args):
filename = args[0]
recipient = args[1]
body = """
Dear Admin,
Please see the attached file as your reference for the recent bulk users you have uploaded as an Administrator in RMS.
This email and any files transmitted with it are confidential and may contain privileged and confidential information,
including personal information protected by privacy laws.
It is intended only for the use of the individual or entity to whom they are addressed.
"""
email = EmailMessage(
'Resource Management System: Bulk Users!',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment