Commit 8f876860 authored by Gladys Forte's avatar Gladys Forte

print

parent 788cece9
......@@ -57,12 +57,13 @@ class ChangeRequestFormApproversSerializer(
else:
ret['editable_deleg'] = True
print("This is on try" + instance.tmp_approver.delegation)
# if instance.tmp_approver.delegation.name.lower() == 'requestor':
# ret['editable_user'] = False
# ret['editable_comp'] = False
# ret['editable_dept'] = False
# ret['editable_deleg'] = False
else:
ret['editable_user'] = True
ret['editable_comp'] = True
......@@ -122,6 +123,7 @@ class ChangeRequestFormApproversSerializer(
ret['delegation'] = None
ret['editable_deleg'] = True
print("This is on catch" + instance.tmp_approver.delegation)
# if instance.tmp_approver.delegation.name.lower() == 'requestor':
# ret['editable_user'] = False
# ret['editable_comp'] = False
......
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