| Id | Sex | Room | Cage | Project | Protocol | Title | Project Investigator | Assign Date | Release Date | Projected Release Date | Assignment Type | Assign Condition | Projected Release Condition | Condition At Release |
| " + PageFlowUtil.filter(rs.getString("Id")) + " | \n"); - msg.append("" + PageFlowUtil.filter(rs.getString("Sex")) + " | "); - msg.append("" + PageFlowUtil.filter(rs.getString("Room")) + " | "); - msg.append("" + PageFlowUtil.filter(rs.getString("Cage")) + " | "); - msg.append("" + PageFlowUtil.filter(rs.getString("project")) + " | "); - msg.append("" + PageFlowUtil.filter(rs.getString("Protocol")) + " | "); - msg.append("" + PageFlowUtil.filter(rs.getString("Title")) + " | "); - msg.append("" + PageFlowUtil.filter(rs.getString("ProjectInvestigator")) + " | "); - msg.append("" + PageFlowUtil.filter(rs.getString("AssignDate")) + " | "); - msg.append("" + PageFlowUtil.filter(rs.getString("ReleaseDate")) + " | "); - msg.append("" + PageFlowUtil.filter(rs.getString("ProjectedReleaseDate")) + " | "); - msg.append("" + PageFlowUtil.filter(rs.getString("assignmentType")) + " | "); - msg.append("" + PageFlowUtil.filter(rs.getString("assignCondition")) + " | "); - msg.append("" + PageFlowUtil.filter(rs.getString("projectedReleaseCondition")) + " | "); - msg.append("" + PageFlowUtil.filter(rs.getString("ConditionAtRelease")) + " | "); + msg.append("
| " + PageFlowUtil.filter(rs.getString("Id")) + " | \n"); + msg.append("" + PageFlowUtil.filter(rs.getString("Sex")) + " | "); + msg.append("" + PageFlowUtil.filter(rs.getString("Room")) + " | "); + msg.append("" + PageFlowUtil.filter(rs.getString("Cage")) + " | "); + msg.append("" + PageFlowUtil.filter(rs.getString("project")) + " | "); + msg.append("" + PageFlowUtil.filter(rs.getString("Protocol")) + " | "); + msg.append("" + PageFlowUtil.filter(rs.getString("Title")) + " | "); + msg.append("" + PageFlowUtil.filter(rs.getString("ProjectInvestigator")) + " | "); + msg.append("" + PageFlowUtil.filter(rs.getString("AssignDate")) + " | "); + msg.append("" + PageFlowUtil.filter(rs.getString("ReleaseDate")) + " | "); + msg.append("" + PageFlowUtil.filter(rs.getString("ProjectedReleaseDate")) + " | "); + msg.append("" + PageFlowUtil.filter(rs.getString("assignmentType")) + " | "); + msg.append("" + PageFlowUtil.filter(rs.getString("assignCondition")) + " | "); + msg.append("" + PageFlowUtil.filter(rs.getString("projectedReleaseCondition")) + " | "); + msg.append("" + PageFlowUtil.filter(rs.getString("ConditionAtRelease")) + " | "); msg.append("
"); - if (total > 0) - { - msg.append( total + " entries found. "); - msg.append("Click here to view them\n"); - msg.append("
");
+ msg.append( count + " entries found. ");
+ msg.append("Click here to view them in a separate window\n");
+ msg.append("\n\n");
+
+ //Changes made byKolli, July 2026, Refer to tkt # 14974
+ //Display the daily report in the email
+ Set");
+ msg.append("
");
+ msg.append(" ");
+
+ ts2.forEach(object -> {
+ Results rs = new ResultsImpl(object, colMap);
+ String url = getParticipantURL(c, rs.getString("Id"));
+
+ msg.append("Id Species Sex Age(Years, Rounded) Area Room Cage Most Recent Alopecia Score Date Performed By ");
+ msg.append(" ");
+ });
+ msg.append(" " + PageFlowUtil.filter(rs.getString("Id")) + " \n");
+ msg.append("" + PageFlowUtil.filter(rs.getString("Species")) + " ");
+ msg.append("" + PageFlowUtil.filter(rs.getString("gender")) + " ");
+ msg.append("" + PageFlowUtil.filter(rs.getString("ageinYearsRounded")) + " ");
+ msg.append("" + PageFlowUtil.filter(rs.getString("area")) + " ");
+ msg.append("" + PageFlowUtil.filter(rs.getString("room")) + " ");
+ msg.append("" + PageFlowUtil.filter(rs.getString("cage")) + " ");
+ msg.append("" + PageFlowUtil.filter(rs.getString("MostRecentAlopeciaScore")) + " ");
+ java.sql.Date date = rs.getDate("date");
+ msg.append("")
+ .append(PageFlowUtil.filter(
+ date == null ? "" : new java.text.SimpleDateFormat("MM/dd/yyyy").format(date)
+ ))
+ .append(" ");
+ msg.append("" + PageFlowUtil.filter(rs.getString("performedby")) + " ");
+ msg.append("
");
}
- else
- {
- msg.append("WARNING: No animals found with alopecia score of 4 or 5, but does not have an open behavioral case for alopecia!
\n");
+ else {
+ msg.append("WARNING: No animals found with alopecia score of 4 or 5, there fore no open behavioral case(s) for alopecia!
\n");
}
}