Skip to content

Commit

Permalink
Merge pull request #4663 from bcgov/main-AH-4370-MD-4369
Browse files Browse the repository at this point in the history
Revised notifcation reminder days back to normal (previously changed to >=1 day to allow for testing/QA)
  • Loading branch information
Aman-Hundal authored Oct 30, 2023
2 parents a5e9701 + ea4be17 commit 70b817d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def createpaymentreminderevent(self):
for entry in _onholdrequests:
_dateofstatechange = datetimehandler().formatdate(entry['updated_at'])
businessdayselapsed = duecalculator().getbusinessdaysbetween(_dateofstatechange)
if businessdayselapsed >= 1 and duecalculator().isbusinessday(_today):
if businessdayselapsed >= 20 and duecalculator().isbusinessday(_today):
commentexists = False
existingcomments = commentservice().getrawrequestcomments(entry['requestid'])
for comment in existingcomments:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def createdueevent(self):
for entry in section5pendings:
_dateofstatechange = datetimehandler().formatdate(entry['created_at'])
businessdayselapsed = self.getbusinessdaysbetween(_dateofstatechange)
if businessdayselapsed >= 1 and self.isbusinessday(_today):
if businessdayselapsed >= 10 and self.isbusinessday(_today):
message = self.__passeddueremindermessage()
commentexists = False
existingcomments = commentservice().getrawrequestcomments(entry['requestid'])
Expand Down

0 comments on commit 70b817d

Please sign in to comment.