Commit 5fd93e96 authored by Gladys Forte's avatar Gladys Forte

Merge pull request #528 in RMS/api-main-service from gladys-dev2 to RMSv2

* commit '9f651e18':
  vendor email
parents 0c78e4a6 9f651e18
......@@ -213,8 +213,9 @@ def send_mail_vendor(requestor,
args = [name, action_by, routing_level, status, cr_number, cr_name,
company_requestedto, department_requestedto, priority_level,
url, remarks, recipient, action_type, delegation_type, admin]
url, remarks, recipient, action_type, delegation_type,
delegation_recipient, admin]
main_threading(args, sender.routing_table_actions)
message = f"{sender_name} {msg} ({template_name})"
......
......@@ -570,7 +570,7 @@ def cr_routing_actions(approver_instance, current_user, move_to_level):
# reject from requestor action
if delegation.lower() == 'requestor':
notification_msg = REVISED_MESSAGE.split(';')[0]
# send reject email to vendor
send_mail_vendor(
current_user, form_code, delegation,
......
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