Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
R
red-ci-cd
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
red-group-test
red-ci-cd
Commits
9f651e18
Commit
9f651e18
authored
Dec 04, 2019
by
Gladys Forte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vendor email
parent
e3e2a47d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
app/applicationlayer/cms/utils_cr.py
app/applicationlayer/cms/utils_cr.py
+3
-2
app/businesslayer/changerequest/change_request.py
app/businesslayer/changerequest/change_request.py
+1
-1
No files found.
app/applicationlayer/cms/utils_cr.py
View file @
9f651e18
...
@@ -213,8 +213,9 @@ def send_mail_vendor(requestor,
...
@@ -213,8 +213,9 @@ def send_mail_vendor(requestor,
args
=
[
name
,
action_by
,
routing_level
,
status
,
cr_number
,
cr_name
,
args
=
[
name
,
action_by
,
routing_level
,
status
,
cr_number
,
cr_name
,
company_requestedto
,
department_requestedto
,
priority_level
,
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
)
main_threading
(
args
,
sender
.
routing_table_actions
)
message
=
f
"{sender_name} {msg} ({template_name})"
message
=
f
"{sender_name} {msg} ({template_name})"
...
...
app/businesslayer/changerequest/change_request.py
View file @
9f651e18
...
@@ -570,7 +570,7 @@ def cr_routing_actions(approver_instance, current_user, move_to_level):
...
@@ -570,7 +570,7 @@ def cr_routing_actions(approver_instance, current_user, move_to_level):
# reject from requestor action
# reject from requestor action
if
delegation
.
lower
()
==
'requestor'
:
if
delegation
.
lower
()
==
'requestor'
:
notification_msg
=
REVISED_MESSAGE
.
split
(
';'
)[
0
]
notification_msg
=
REVISED_MESSAGE
.
split
(
';'
)[
0
]
# send reject email to vendor
# send reject email to vendor
send_mail_vendor
(
send_mail_vendor
(
current_user
,
form_code
,
delegation
,
current_user
,
form_code
,
delegation
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment