Skip to content

Commit

Permalink
OIPC Integration + additional changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
sumathi.thirumani committed Jan 12, 2024
1 parent 75e64de commit 4356c7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/reviewer_api/services/documentservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ def getfilepathbydocumentid(self, documentid):

def validate_oipcreviewlayer(self, request_json, requestid):
#check for OIPC & Reason
if 'isoipcreview' in request_json and request_json['isoipcreview'] == True and any(oipc['reasonid'] == 2 for oipc in request_json['oipcdetails']):
if 'isoipcreview' in request_json and request_json['isoipcreview'] == True and any((oipc['reasonid'] == 2 and oipc['outcomeid'] is None)for oipc in request_json['oipcdetails']):
#Check for Reopen
if 'isreopened' in request_json and request_json['isreopened'] == True:
#Check is Response Package generated before closure.
Expand Down

0 comments on commit 4356c7f

Please sign in to comment.