Skip to content

Commit

Permalink
fix text messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
levine12 committed Mar 5, 2020
1 parent 37d870b commit 9aa0b81
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public void afterReturning(Object returnValue, Method method, Object[] args, Obj
String message = "A Fortitudo patient has just requested your assistance";

try {
//sendAwsSms(telNo, message);
sendAwsSms(telNo, message);
}
catch (Exception e) {
System.out.println("There was an error sending the sms message:");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ public void controller(HttpServletRequest request, PageModel model, HttpSession
}
}
*/
if (user.getRetired() || user.getPerson().isPersonVoided() || user.getPerson().isVoided()
|| user.getPerson().getVoided()) {
continue;
}
personId = user.getPerson().getPersonId();
List<PersonCountries> pp = Context.getService(PersonCountriesService.class).getPersonCountriesForPerson(
user.getPerson().getPersonId());
Expand Down

0 comments on commit 9aa0b81

Please sign in to comment.