{
txtPeerReview.setText("Needs Review");
}
}
Generalinfo gi = currentRequest.getGeneralinfo();
if (gi != null)
{
if (gi.getRequestedDate() == null)
{
txtGeneralInfo.setText("Incomplete");
} else
{
txtGeneralInfo.setText("Completed");
}
if (gi.getSecurityRequired()!= null && gi.getSecurityRequired().equals("Y"))
{
btnSecurityOverview.setEnabled(true);
Securityoverview so = currentRequest.getSecurityoverview();
if (so != null)
{
boolean approved = (so.getSecurityApprover() > 0);
if (approved)
{
txtSecurityOverview.setText("Approved");
} else
{
txtSecurityOverview.setText("Needs Approval");
}
}
} else
{
btnSecurityOverview.setEnabled(false);
txtSecurityOverview.setText("Not Required");
}
if (gi.getTechReviewReq() != null && gi.getTechReviewReq().equals("Y"))
{
txtTechOverview.setText("Review Required");
} else
{
txtTechOverview.setText("No Review Required");