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
80737700
Commit
80737700
authored
Sep 29, 2019
by
John Red Medrano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing
parent
ac6f1a2a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
.gitignore
.gitignore
+1
-0
app/applicationlayer/cms/form/header/views.py
app/applicationlayer/cms/form/header/views.py
+6
-6
No files found.
.gitignore
View file @
80737700
...
@@ -3,6 +3,7 @@ __pycache__/
...
@@ -3,6 +3,7 @@ __pycache__/
*.py[cod]
*.py[cod]
*$py.class
*$py.class
env.ini
env.ini
media
# Distribution / packaging
# Distribution / packaging
.Python
.Python
...
...
app/applicationlayer/cms/form/header/views.py
View file @
80737700
...
@@ -1079,12 +1079,12 @@ class ChangeRequestFormPost(APIView):
...
@@ -1079,12 +1079,12 @@ class ChangeRequestFormPost(APIView):
frm_id
=
serializer
.
data
[
'form_code'
]
frm_id
=
serializer
.
data
[
'form_code'
]
# create template approvers
# create template approvers
#
frm_approvers = form_header['frm_approvers']
frm_approvers
=
form_header
[
'frm_approvers'
]
#
counter = 0
counter
=
0
#
for frm_approver in frm_approvers:
for
frm_approver
in
frm_approvers
:
#
frm_approver['form_code'] = frm_id
frm_approver
[
'form_code'
]
=
frm_id
#
counter = counter + 1
counter
=
counter
+
1
#
data_list_approver.append(frm_approver)
data_list_approver
.
append
(
frm_approver
)
#append vendor and requestor in routing table
#append vendor and requestor in routing table
# counter = counter + 1
# counter = counter + 1
...
...
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